#185828#185828
#185828 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.101 H 148.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #185828 |
|---|---|
| RGB | rgb(24, 88, 40) |
| HSL | hsl(135, 57%, 22%) |
| HSV | hsv(135, 73%, 35%) |
| CMYK | cmyk(72.7%, 0%, 54.5%, 65.5%) |
| CIE-LAB | lab(32.54, -31.76, 21.98) |
| CIE-LCH | lch(32.54, 38.63, 145.31°) |
| OKLab | oklab(40.77% -0.0856 0.0532) |
| OKLCH | oklch(40.77% 0.101 148.1) |
| XYZ | xyz(4.2491, 7.3264, 3.1973) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.16
Forest Green
#2D5A27
ΔE00 3.16
Spruce
#0A5F38
ΔE00 4.11
Deep Green
#02590F
ΔE00 4.92
Pine Green
#0A481E
ΔE00 5.06
Hunter Green
#355E3B
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185828 #581848
analogous
#285818 #185828 #185848
triadic
#185828 #281858 #582818
tetradic
#185828 #182858 #581848 #584818
square
#185828 #182858 #581848 #584818
split-complementary
#185828 #481858 #581828
monochromatic
#07180B #0B2812 #185828 #25883E #32B854
Accessibility & contrast
On white
8.52
#185828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#185828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185828
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185828 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#01564D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #185828; /* rgb */ color: rgb(24, 88, 40); /* oklch */ color: oklch(40.8% 0.101 148.1);
Tailwind
colors: {
custom: {
50: '#5e8863',
500: '#185828',
950: '#000000',
},
}SCSS
$custom: #185828; $custom-light: #5e8863; $custom-dark: #000000;
JSON
{
"hex": "#185828",
"rgb": {
"r": 24,
"g": 88,
"b": 40
},
"hsl": {
"h": 135,
"s": 57.143,
"l": 21.961
},
"oklch": {
"l": 0.40774,
"c": 0.10082,
"h": 148.1
},
"luminance": 0.07327
}Semantic roles & 50–950 ramp
primary
#185828
secondary
#8F3D7A
accent
#47BAE0
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050B05
muted
#797C79