#185F12#185F12
#185F12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.129 H 142.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #185F12 |
|---|---|
| RGB | rgb(24, 95, 18) |
| HSL | hsl(115, 68%, 22%) |
| HSV | hsv(115, 81%, 37%) |
| CMYK | cmyk(74.7%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(34.85, -37.25, 35.28) |
| CIE-LCH | lch(34.85, 51.30, 136.55°) |
| OKLab | oklab(42.61% -0.1014 0.0793) |
| OKLCH | oklch(42.61% 0.129 142) |
| XYZ | xyz(4.5778, 8.4218, 1.9565) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.35
Darkgreen
#006400
ΔE00 2.80
Forest
#0B5509
ΔE00 3.22
Forest Green
#2D5A27
ΔE00 5.07
Bottle Green
#044A05
ΔE00 6.63
Navy Green
#35530A
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185F12 #59125F
analogous
#3F5F12 #185F12 #125F33
triadic
#185F12 #12185F #5F1218
tetradic
#185F12 #123F5F #59125F #5F3312
square
#185F12 #123F5F #59125F #5F3312
split-complementary
#185F12 #33125F #5F123F
monochromatic
#061A05 #0B2C08 #185F12 #25921C #32C625
Accessibility & contrast
On white
7.82
#185F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#185F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185F12
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185F12 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#055C50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #185f12; /* rgb */ color: rgb(24, 95, 18); /* oklch */ color: oklch(42.6% 0.129 142.0);
Tailwind
colors: {
custom: {
50: '#628d56',
500: '#185f12',
950: '#000000',
},
}SCSS
$custom: #185f12; $custom-light: #628d56; $custom-dark: #000000;
JSON
{
"hex": "#185f12",
"rgb": {
"r": 24,
"g": 95,
"b": 18
},
"hsl": {
"h": 115.325,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.4261,
"c": 0.12875,
"h": 142
},
"luminance": 0.08422
}Semantic roles & 50–950 ramp
primary
#185F12
secondary
#903697
accent
#3DEBDD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78