#185A1F#185A1F
#185A1F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.112 H 144.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #185A1F |
|---|---|
| RGB | rgb(24, 90, 31) |
| HSL | hsl(126, 58%, 22%) |
| HSV | hsv(126, 73%, 35%) |
| CMYK | cmyk(73.3%, 0%, 65.6%, 64.7%) |
| CIE-LAB | lab(33.15, -33.95, 27.60) |
| CIE-LCH | lch(33.15, 43.76, 140.89°) |
| OKLab | oklab(41.24% -0.0918 0.0648) |
| OKLCH | oklch(41.24% 0.112 144.8) |
| XYZ | xyz(4.2799, 7.6050, 2.5384) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.65
Forest Green
#2D5A27
ΔE00 2.98
Forest
#0B5509
ΔE00 3.28
Pine
#2B5D34
ΔE00 4.72
Bottle Green
#044A05
ΔE00 5.45
Darkgreen (survey)
#054907
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185A1F #5A1853
analogous
#325A18 #185A1F #185A40
triadic
#185A1F #1F185A #5A1F18
tetradic
#185A1F #18325A #5A1853 #5A4018
square
#185A1F #18325A #5A1853 #5A4018
split-complementary
#185A1F #40185A #5A1832
monochromatic
#061808 #0B2A0E #185A1F #258A30 #32BB40
Accessibility & contrast
On white
8.33
#185A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#185A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185A1F
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185A1F | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#04584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #185a1f; /* rgb */ color: rgb(24, 90, 31); /* oklch */ color: oklch(41.2% 0.112 144.8);
Tailwind
colors: {
custom: {
50: '#5f895d',
500: '#185a1f',
950: '#000000',
},
}SCSS
$custom: #185a1f; $custom-light: #5f895d; $custom-dark: #000000;
JSON
{
"hex": "#185a1f",
"rgb": {
"r": 24,
"g": 90,
"b": 31
},
"hsl": {
"h": 126.364,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.41238,
"c": 0.11239,
"h": 144.8
},
"luminance": 0.07605
}Semantic roles & 50–950 ramp
primary
#185A1F
secondary
#913D88
accent
#47D1E1
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79