#185A28#185A28
#185A28 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.104 H 147.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #185A28 |
|---|---|
| RGB | rgb(24, 90, 40) |
| HSL | hsl(135, 58%, 22%) |
| HSV | hsv(135, 73%, 35%) |
| CMYK | cmyk(73.3%, 0%, 55.6%, 64.7%) |
| CIE-LAB | lab(33.26, -32.60, 22.88) |
| CIE-LCH | lch(33.26, 39.82, 144.94°) |
| OKLab | oklab(41.37% -0.0879 0.0552) |
| OKLCH | oklch(41.37% 0.104 147.9) |
| XYZ | xyz(4.4155, 7.6592, 3.2528) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.04
Pine
#2B5D34
ΔE00 3.17
Spruce
#0A5F38
ΔE00 4.09
Deep Green
#02590F
ΔE00 4.56
Forest
#0B5509
ΔE00 5.16
Hunter Green
#355E3B
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185A28 #5A184A
analogous
#295A18 #185A28 #185A49
triadic
#185A28 #28185A #5A2818
tetradic
#185A28 #18295A #5A184A #5A4918
square
#185A28 #18295A #5A184A #5A4918
split-complementary
#185A28 #49185A #5A1829
monochromatic
#06180B #0B2A13 #185A28 #258A3D #32BB53
Accessibility & contrast
On white
8.29
#185A28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#185A28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185A28
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185A28 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #185a28; /* rgb */ color: rgb(24, 90, 40); /* oklch */ color: oklch(41.4% 0.104 147.9);
Tailwind
colors: {
custom: {
50: '#5f8963',
500: '#185a28',
950: '#000000',
},
}SCSS
$custom: #185a28; $custom-light: #5f8963; $custom-dark: #000000;
JSON
{
"hex": "#185a28",
"rgb": {
"r": 24,
"g": 90,
"b": 40
},
"hsl": {
"h": 134.545,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.41373,
"c": 0.10377,
"h": 147.9
},
"luminance": 0.0766
}Semantic roles & 50–950 ramp
primary
#185A28
secondary
#913D7C
accent
#47BCE1
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79