#187212#187212
#187212 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.151 H 142.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #187212 |
|---|---|
| RGB | rgb(24, 114, 18) |
| HSL | hsl(116, 73%, 26%) |
| HSV | hsv(116, 84%, 45%) |
| CMYK | cmyk(78.9%, 0%, 84.2%, 55.3%) |
| CIE-LAB | lab(41.64, -43.97, 41.81) |
| CIE-LCH | lch(41.64, 60.67, 136.44°) |
| OKLab | oklab(48.26% -0.1196 0.0929) |
| OKLCH | oklch(48.26% 0.151 142.2) |
| XYZ | xyz(6.5028, 12.2717, 2.5981) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.41
Darkgreen
#006400
ΔE00 4.72
Green
#008000
ΔE00 5.11
Darkish Green
#287C37
ΔE00 5.75
Dark Grass Green
#388004
ΔE00 6.40
Deep Green
#02590F
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187212 #6C1272
analogous
#487212 #187212 #12723C
triadic
#187212 #121872 #721218
tetradic
#187212 #124872 #6C1272 #723C12
square
#187212 #124872 #6C1272 #723C12
split-complementary
#187212 #3C1272 #721248
monochromatic
#061A04 #0D3D0A #187212 #23A71A #2EDC23
Accessibility & contrast
On white
6.08
#187212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#187212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187212
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187212 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 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)
#6B601E
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #187212; /* rgb */ color: rgb(24, 114, 18); /* oklch */ color: oklch(48.3% 0.151 142.2);
Tailwind
colors: {
custom: {
50: '#679c59',
500: '#187212',
950: '#000000',
},
}SCSS
$custom: #187212; $custom-light: #679c59; $custom-dark: #000000;
JSON
{
"hex": "#187212",
"rgb": {
"r": 24,
"g": 114,
"b": 18
},
"hsl": {
"h": 116.25,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48258,
"c": 0.15147,
"h": 142.2
},
"luminance": 0.12272
}Semantic roles & 50–950 ramp
primary
#187212
secondary
#A237A9
accent
#38EFE4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79