#186A1F#186A1F
#186A1F is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.134 H 144.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #186A1F |
|---|---|
| RGB | rgb(24, 106, 31) |
| HSL | hsl(125, 63%, 25%) |
| HSV | hsv(125, 77%, 42%) |
| CMYK | cmyk(77.4%, 0%, 70.8%, 58.4%) |
| CIE-LAB | lab(38.90, -40.04, 34.00) |
| CIE-LCH | lch(38.90, 52.52, 139.67°) |
| OKLab | oklab(46.01% -0.1083 0.0784) |
| OKLCH | oklch(46.01% 0.134 144.1) |
| XYZ | xyz(5.7777, 10.6005, 3.0377) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.58
Deep Green
#02590F
ΔE00 5.54
Darkish Green
#287C37
ΔE00 6.53
Forest
#0B5509
ΔE00 6.77
Forest Green
#2D5A27
ΔE00 6.79
Tree Green
#2A7E19
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186A1F #6A1863
analogous
#3A6A18 #186A1F #186A48
triadic
#186A1F #1F186A #6A1F18
tetradic
#186A1F #183A6A #6A1863 #6A4818
square
#186A1F #183A6A #6A1863 #6A4818
split-complementary
#186A1F #48186A #6A183A
monochromatic
#061907 #0D3810 #186A1F #239C2E #2FCE3C
Accessibility & contrast
On white
6.73
#186A1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#186A1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186A1F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186A1F | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6015
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #186a1f; /* rgb */ color: rgb(24, 106, 31); /* oklch */ color: oklch(46.0% 0.134 144.1);
Tailwind
colors: {
custom: {
50: '#64955f',
500: '#186a1f',
950: '#000000',
},
}SCSS
$custom: #186a1f; $custom-light: #64955f; $custom-dark: #000000;
JSON
{
"hex": "#186a1f",
"rgb": {
"r": 24,
"g": 106,
"b": 31
},
"hsl": {
"h": 125.122,
"s": 63.077,
"l": 25.49
},
"oklch": {
"l": 0.46006,
"c": 0.13372,
"h": 144.1
},
"luminance": 0.10601
}Semantic roles & 50–950 ramp
primary
#186A1F
secondary
#A03E98
accent
#42D8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79