#187C1A#187C1A
#187C1A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.159 H 143.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #187C1A |
|---|---|
| RGB | rgb(24, 124, 26) |
| HSL | hsl(121, 68%, 29%) |
| HSV | hsv(121, 81%, 49%) |
| CMYK | cmyk(80.6%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(45.20, -46.78, 42.52) |
| CIE-LCH | lch(45.20, 63.21, 137.73°) |
| OKLab | oklab(51.23% -0.1269 0.0956) |
| OKLCH | oklch(51.23% 0.159 143) |
| XYZ | xyz(7.7703, 14.6832, 3.4017) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.69
Green
#008000
ΔE00 2.50
Darkish Green
#287C37
ΔE00 4.41
Dark Grass Green
#388004
ΔE00 4.46
Forestgreen (CSS)
#228B22
ΔE00 5.41
Emerald Green
#028F1E
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187C1A #7C187A
analogous
#487C18 #187C1A #187C4C
triadic
#187C1A #1A187C #7C1A18
tetradic
#187C1A #18487C #7C187A #7C4C18
square
#187C1A #18487C #7C187A #7C4C18
split-complementary
#187C1A #4C187C #7C1848
monochromatic
#051A05 #0E490F #187C1A #22AF25 #36D839
Accessibility & contrast
On white
5.33
#187C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#187C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187C1A
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187C1A | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #187c1a; /* rgb */ color: rgb(24, 124, 26); /* oklch */ color: oklch(51.2% 0.159 143.0);
Tailwind
colors: {
custom: {
50: '#69a35e',
500: '#187c1a',
950: '#000000',
},
}SCSS
$custom: #187c1a; $custom-light: #69a35e; $custom-dark: #000000;
JSON
{
"hex": "#187c1a",
"rgb": {
"r": 24,
"g": 124,
"b": 26
},
"hsl": {
"h": 121.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.51226,
"c": 0.15883,
"h": 143
},
"luminance": 0.14684
}Semantic roles & 50–950 ramp
primary
#187C1A
secondary
#B13FAE
accent
#3DE7EA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79