Nearest named color · #787B27
#787B27
Nearest named color: Green Commando
#787B27 (rgb(120 123 39), hsl(62 52% 32%), oklch(0.563 0.106 111.3)) is closest to the named color Green Commando. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#787B27
oklch(0.563 0.106 111.3)
Color conversions
- HEX
- #787b27
- RGB
- rgb(120 123 39)
- HSL
- hsl(62 52% 32%)
- HWB
- hwb(62 15% 52%)
- OKLCH
- oklch(0.563 0.106 111.3)
- OKLab
- oklab(0.563 -0.038 0.098)
- CIE Lab
- lab(50.1 -9.53 43.34)
- LCH
- lch(50.1 44.37 102.4)
- CMYK
- cmyk(2% 0% 68% 52%)
Tints · Shades · Tones
Tints
- 848840
- 919556
- 9EA26B
- ABAF80
- B9BC95
- C6C9AA
- D4D6BF
- E2E4D4
- F1F1E9
Shades
- 676A20
- 575A1A
- 484A14
- 393A0E
- 2A2C08
- 1D1E04
- 101002
- 050501
- 010100
Tones
- 797C34
- 797C3F
- 7A7D48
- 7B7E51
- 7C7E5A
- 7C7F62
- 7D7F6A
- 7E7F71
- 7F8079
Color harmonies
Complementary +180°
- 787B27
Green Commando
- 7669AE
≈ Clear Mauve
Analogous -30° +30°
- 787B27
Green Commando
- 956E1D
≈ Chamois Yellow
- 508549
≈ Beanpole
Triadic +120° +240°
- 787B27
Green Commando
- 1C80A8
≈ Blue Paisley
- A45A7D
≈ Rose Wine
Split-complementary +150° +210°
- 787B27
Green Commando
- 5275B3
≈ Sapphire Shimmer Blue
- 92609B
≈ Aster Violetta
Tetradic +90° +180° +270°
- 787B27
Green Commando
- 00868D
≈ Totally Teal
- 7669AE
≈ Clear Mauve
- AB5A5A
≈ Italian Villa
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.66:1 · APCA Lc 30
Best text color: #000000
WCAG 4.66:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--green-commando: #787b27;
--green-commando-rgb: 120 123 39;
--green-commando-oklch: oklch(0.563 0.106 111.3);
}
.element {
color: var(--green-commando);
background-color: hsl(62 52% 32%);
border-color: oklch(0.563 0.106 111.3);
}Tailwind CSS v4
@theme {
--color-green-commando: #787b27;
--color-green-commando-50: #f5f9d7;
--color-green-commando-100: #e7ecc4;
--color-green-commando-200: #d4daa6;
--color-green-commando-300: #b7be7e;
--color-green-commando-400: #a1a458;
--color-green-commando-500: #898c2e;
--color-green-commando-600: #747729;
--color-green-commando-700: #5d5f20;
--color-green-commando-800: #454514;
--color-green-commando-900: #30300d;
--color-green-commando-950: #1c1c02;
}SCSS
$green-commando: #787b27;
$green-commando-rgb: 120, 123, 39;
$green-commando-light: mix(#fff, $green-commando, 20%);
$green-commando-dark: mix(#000, $green-commando, 20%);
.element {
color: $green-commando;
box-shadow: 0 0 0 2px rgba($green-commando, 0.35);
}