#187512#187512
#187512 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.1% C 0.155 H 142.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #187512 |
|---|---|
| RGB | rgb(24, 117, 18) |
| HSL | hsl(116, 73%, 26%) |
| HSV | hsv(116, 85%, 46%) |
| CMYK | cmyk(79.5%, 0%, 84.6%, 54.1%) |
| CIE-LAB | lab(42.70, -44.99, 42.80) |
| CIE-LCH | lch(42.70, 62.09, 136.43°) |
| OKLab | oklab(49.14% -0.1224 0.095) |
| OKLCH | oklch(49.14% 0.155 142.2) |
| XYZ | xyz(6.8467, 12.9596, 2.7128) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.44
Green
#008000
ΔE00 4.11
Darkish Green
#287C37
ΔE00 5.38
Dark Grass Green
#388004
ΔE00 5.55
Darkgreen
#006400
ΔE00 5.70
Forestgreen (CSS)
#228B22
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187512 #6F1275
analogous
#4A7512 #187512 #12753E
triadic
#187512 #121875 #751218
tetradic
#187512 #124A75 #6F1275 #753E12
square
#187512 #124A75 #6F1275 #753E12
split-complementary
#187512 #3E1275 #75124A
monochromatic
#051B04 #0D400A #187512 #23AA1A #2FDD24
Accessibility & contrast
On white
5.85
#187512 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#187512 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187512
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187512 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #187512; /* rgb */ color: rgb(24, 117, 18); /* oklch */ color: oklch(49.1% 0.155 142.2);
Tailwind
colors: {
custom: {
50: '#679e5a',
500: '#187512',
950: '#000000',
},
}SCSS
$custom: #187512; $custom-light: #679e5a; $custom-dark: #000000;
JSON
{
"hex": "#187512",
"rgb": {
"r": 24,
"g": 117,
"b": 18
},
"hsl": {
"h": 116.364,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.49137,
"c": 0.1549,
"h": 142.2
},
"luminance": 0.1296
}Semantic roles & 50–950 ramp
primary
#187512
secondary
#A537AC
accent
#38F0E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79