#186A22#186A22
#186A22 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.131 H 144.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #186A22 |
|---|---|
| RGB | rgb(24, 106, 34) |
| HSL | hsl(127, 63%, 25%) |
| HSV | hsv(127, 77%, 42%) |
| CMYK | cmyk(77.4%, 0%, 67.9%, 58.4%) |
| CIE-LAB | lab(38.93, -39.69, 32.63) |
| CIE-LCH | lch(38.93, 51.38, 140.58°) |
| OKLab | oklab(46.04% -0.1072 0.0759) |
| OKLCH | oklch(46.04% 0.131 144.7) |
| XYZ | xyz(5.8191, 10.6171, 3.2557) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.01
Deep Green
#02590F
ΔE00 5.59
Darkish Green
#287C37
ΔE00 6.40
Forest Green
#2D5A27
ΔE00 6.60
Forest
#0B5509
ΔE00 6.85
Pine
#2B5D34
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186A22 #6A1860
analogous
#376A18 #186A22 #186A4B
triadic
#186A22 #22186A #6A2218
tetradic
#186A22 #18376A #6A1860 #6A4B18
square
#186A22 #18376A #6A1860 #6A4B18
split-complementary
#186A22 #4B186A #6A1837
monochromatic
#061908 #0D3812 #186A22 #239C32 #2FCE42
Accessibility & contrast
On white
6.72
#186A22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#186A22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186A22
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186A22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186A22 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6019
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #186a22; /* rgb */ color: rgb(24, 106, 34); /* oklch */ color: oklch(46.0% 0.131 144.7);
Tailwind
colors: {
custom: {
50: '#639560',
500: '#186a22',
950: '#000000',
},
}SCSS
$custom: #186a22; $custom-light: #639560; $custom-dark: #000000;
JSON
{
"hex": "#186a22",
"rgb": {
"r": 24,
"g": 106,
"b": 34
},
"hsl": {
"h": 127.317,
"s": 63.077,
"l": 25.49
},
"oklch": {
"l": 0.46039,
"c": 0.13137,
"h": 144.7
},
"luminance": 0.10618
}Semantic roles & 50–950 ramp
primary
#186A22
secondary
#A03E94
accent
#42D2E6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79