#187213#187213
#187213 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.151 H 142.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #187213 |
|---|---|
| RGB | rgb(24, 114, 19) |
| HSL | hsl(117, 71%, 26%) |
| HSV | hsv(117, 83%, 45%) |
| CMYK | cmyk(78.9%, 0%, 83.3%, 55.3%) |
| CIE-LAB | lab(41.65, -43.90, 41.49) |
| CIE-LCH | lch(41.65, 60.41, 136.62°) |
| OKLab | oklab(48.26% -0.1194 0.0924) |
| OKLCH | oklch(48.26% 0.151 142.3) |
| XYZ | xyz(6.5112, 12.2751, 2.6421) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.42
Darkgreen
#006400
ΔE00 4.73
Green
#008000
ΔE00 5.15
Darkish Green
#287C37
ΔE00 5.67
Dark Grass Green
#388004
ΔE00 6.45
Deep Green
#02590F
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187213 #6D1372
analogous
#477213 #187213 #13723D
triadic
#187213 #131872 #721318
tetradic
#187213 #134772 #6D1372 #723D13
square
#187213 #134772 #6D1372 #723D13
split-complementary
#187213 #3D1372 #721347
monochromatic
#061A04 #0D3E0A #187213 #23A61C #2EDB25
Accessibility & contrast
On white
6.08
#187213 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#187213 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187213
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187213 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187213 | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #187213; /* rgb */ color: rgb(24, 114, 19); /* oklch */ color: oklch(48.3% 0.151 142.3);
Tailwind
colors: {
custom: {
50: '#669c5a',
500: '#187213',
950: '#000000',
},
}SCSS
$custom: #187213; $custom-light: #669c5a; $custom-dark: #000000;
JSON
{
"hex": "#187213",
"rgb": {
"r": 24,
"g": 114,
"b": 19
},
"hsl": {
"h": 116.842,
"s": 71.429,
"l": 26.078
},
"oklch": {
"l": 0.48264,
"c": 0.15099,
"h": 142.3
},
"luminance": 0.12276
}Semantic roles & 50–950 ramp
primary
#187213
secondary
#A338A9
accent
#3AEEE5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79