#187F1A#187F1A
#187F1A is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.162 H 143.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #187F1A |
|---|---|
| RGB | rgb(24, 127, 26) |
| HSL | hsl(121, 68%, 30%) |
| HSV | hsv(121, 81%, 50%) |
| CMYK | cmyk(81.1%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(46.24, -47.77, 43.54) |
| CIE-LCH | lch(46.24, 64.64, 137.65°) |
| OKLab | oklab(52.09% -0.1296 0.0977) |
| OKLCH | oklch(52.09% 0.162 143) |
| XYZ | xyz(8.1520, 15.4465, 3.5289) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.41
Green
#008000
ΔE00 1.95
Dark Grass Green
#388004
ΔE00 4.04
Forestgreen (CSS)
#228B22
ΔE00 4.36
Darkish Green
#287C37
ΔE00 4.72
Emerald Green
#028F1E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187F1A #7F187D
analogous
#4A7F18 #187F1A #187F4E
triadic
#187F1A #1A187F #7F1A18
tetradic
#187F1A #184A7F #7F187D #7F4E18
square
#187F1A #184A7F #7F187D #7F4E18
split-complementary
#187F1A #4E187F #7F184A
monochromatic
#051A05 #0E4C0F #187F1A #22B225 #38D93B
Accessibility & contrast
On white
5.13
#187F1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#187F1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187F1A
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187F1A | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #187f1a; /* rgb */ color: rgb(24, 127, 26); /* oklch */ color: oklch(52.1% 0.162 143.0);
Tailwind
colors: {
custom: {
50: '#6aa55f',
500: '#187f1a',
950: '#000000',
},
}SCSS
$custom: #187f1a; $custom-light: #6aa55f; $custom-dark: #000000;
JSON
{
"hex": "#187f1a",
"rgb": {
"r": 24,
"g": 127,
"b": 26
},
"hsl": {
"h": 121.165,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.52093,
"c": 0.16228,
"h": 143
},
"luminance": 0.15448
}Semantic roles & 50–950 ramp
primary
#187F1A
secondary
#B33FB1
accent
#3DE8EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79