#187C16#187C16
#187C16 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.161 H 142.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #187C16 |
|---|---|
| RGB | rgb(24, 124, 22) |
| HSL | hsl(119, 70%, 29%) |
| HSV | hsv(119, 82%, 49%) |
| CMYK | cmyk(80.6%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(45.17, -47.06, 43.87) |
| CIE-LCH | lch(45.17, 64.34, 137.01°) |
| OKLab | oklab(51.2% -0.1278 0.0978) |
| OKLCH | oklch(51.2% 0.161 142.6) |
| XYZ | xyz(7.7287, 14.6665, 3.1825) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.53
Green
#008000
ΔE00 2.16
Dark Grass Green
#388004
ΔE00 4.15
Darkish Green
#287C37
ΔE00 4.84
Forestgreen (CSS)
#228B22
ΔE00 5.40
Emerald Green
#028F1E
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187C16 #7A167C
analogous
#4B7C16 #187C16 #167C47
triadic
#187C16 #16187C #7C1618
tetradic
#187C16 #164B7C #7A167C #7C4716
square
#187C16 #164B7C #7A167C #7C4716
split-complementary
#187C16 #47167C #7C164B
monochromatic
#051A05 #0E480D #187C16 #22B01F #35DB32
Accessibility & contrast
On white
5.34
#187C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#187C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187C16
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187C16 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #187c16; /* rgb */ color: rgb(24, 124, 22); /* oklch */ color: oklch(51.2% 0.161 142.6);
Tailwind
colors: {
custom: {
50: '#69a35d',
500: '#187c16',
950: '#000000',
},
}SCSS
$custom: #187c16; $custom-light: #69a35d; $custom-dark: #000000;
JSON
{
"hex": "#187c16",
"rgb": {
"r": 24,
"g": 124,
"b": 22
},
"hsl": {
"h": 118.824,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.51199,
"c": 0.16095,
"h": 142.6
},
"luminance": 0.14667
}Semantic roles & 50–950 ramp
primary
#187C16
secondary
#AF3DB1
accent
#3BEDE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79