#185812#185812
#185812 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.120 H 141.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #185812 |
|---|---|
| RGB | rgb(24, 88, 18) |
| HSL | hsl(115, 66%, 21%) |
| HSV | hsv(115, 80%, 35%) |
| CMYK | cmyk(72.7%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.30, -34.61, 32.74) |
| CIE-LCH | lch(32.30, 47.64, 136.59°) |
| OKLab | oklab(40.49% -0.0943 0.074) |
| OKLCH | oklch(40.49% 0.12 141.9) |
| XYZ | xyz(3.9754, 7.2169, 1.7556) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.41
Deep Green
#02590F
ΔE00 1.53
Forest Green
#2D5A27
ΔE00 4.14
Bottle Green
#044A05
ΔE00 4.43
Darkgreen (survey)
#054907
ΔE00 4.74
Darkgreen
#006400
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185812 #521258
analogous
#3B5812 #185812 #12582F
triadic
#185812 #121858 #581218
tetradic
#185812 #123B58 #521258 #582F12
square
#185812 #123B58 #521258 #582F12
split-complementary
#185812 #2F1258 #58123B
monochromatic
#071905 #0A2508 #185812 #268B1C #34BE27
Accessibility & contrast
On white
8.59
#185812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#185812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185812
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185812 | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#0A554A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #185812; /* rgb */ color: rgb(24, 88, 18); /* oklch */ color: oklch(40.5% 0.120 141.9);
Tailwind
colors: {
custom: {
50: '#608855',
500: '#185812',
950: '#000000',
},
}SCSS
$custom: #185812; $custom-light: #608855; $custom-dark: #000000;
JSON
{
"hex": "#185812",
"rgb": {
"r": 24,
"g": 88,
"b": 18
},
"hsl": {
"h": 114.857,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40495,
"c": 0.11987,
"h": 141.9
},
"luminance": 0.07217
}Semantic roles & 50–950 ramp
primary
#185812
secondary
#893591
accent
#3FE9DA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78