#18772F#18772F
#18772F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.137 H 146.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #18772F |
|---|---|
| RGB | rgb(24, 119, 47) |
| HSL | hsl(135, 66%, 28%) |
| HSV | hsv(135, 80%, 47%) |
| CMYK | cmyk(79.8%, 0%, 60.5%, 53.3%) |
| CIE-LAB | lab(43.64, -42.75, 31.61) |
| CIE-LCH | lch(43.64, 53.17, 143.53°) |
| OKLab | oklab(50% -0.115 0.0749) |
| OKLCH | oklch(50% 0.137 146.9) |
| XYZ | xyz(7.4860, 13.5922, 4.9178) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.21
Jungle Green
#048243
ΔE00 4.78
Tree Green
#2A7E19
ΔE00 5.29
Green
#008000
ΔE00 6.52
Darkgreen
#006400
ΔE00 7.64
Dark Grass Green
#388004
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18772F #771860
analogous
#307718 #18772F #18775E
triadic
#18772F #2F1877 #772F18
tetradic
#18772F #183077 #771860 #775E18
square
#18772F #183077 #771860 #775E18
split-complementary
#18772F #5E1877 #771830
monochromatic
#05190A #0E441B #18772F #22AA43 #33D65B
Accessibility & contrast
On white
5.65
#18772F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#18772F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18772F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18772F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18772F | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6E6435
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #18772f; /* rgb */ color: rgb(24, 119, 47); /* oklch */ color: oklch(50.0% 0.137 146.9);
Tailwind
colors: {
custom: {
50: '#669f6a',
500: '#18772f',
950: '#000000',
},
}SCSS
$custom: #18772f; $custom-light: #669f6a; $custom-dark: #000000;
JSON
{
"hex": "#18772f",
"rgb": {
"r": 24,
"g": 119,
"b": 47
},
"hsl": {
"h": 134.526,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.49995,
"c": 0.1373,
"h": 146.9
},
"luminance": 0.13593
}Semantic roles & 50–950 ramp
primary
#18772F
secondary
#AC3F92
accent
#3EC0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A