#185B28#185B28
#185B28 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.105 H 147.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #185B28 |
|---|---|
| RGB | rgb(24, 91, 40) |
| HSL | hsl(134, 58%, 23%) |
| HSV | hsv(134, 74%, 36%) |
| CMYK | cmyk(73.6%, 0%, 56%, 64.3%) |
| CIE-LAB | lab(33.62, -33.01, 23.32) |
| CIE-LCH | lch(33.62, 40.42, 144.76°) |
| OKLab | oklab(41.67% -0.089 0.0562) |
| OKLCH | oklch(41.67% 0.105 147.7) |
| XYZ | xyz(4.5004, 7.8291, 3.2811) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.04
Pine
#2B5D34
ΔE00 3.23
Spruce
#0A5F38
ΔE00 4.12
Deep Green
#02590F
ΔE00 4.42
Forest
#0B5509
ΔE00 5.11
Hunter Green
#355E3B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185B28 #5B184B
analogous
#2A5B18 #185B28 #185B49
triadic
#185B28 #28185B #5B2818
tetradic
#185B28 #182A5B #5B184B #5B4918
square
#185B28 #182A5B #5B184B #5B4918
split-complementary
#185B28 #49185B #5B182A
monochromatic
#06180B #0B2B13 #185B28 #258B3D #32BC53
Accessibility & contrast
On white
8.18
#185B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#185B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185B28
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185B28 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5224
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #185b28; /* rgb */ color: rgb(24, 91, 40); /* oklch */ color: oklch(41.7% 0.105 147.7);
Tailwind
colors: {
custom: {
50: '#5f8a63',
500: '#185b28',
950: '#000000',
},
}SCSS
$custom: #185b28; $custom-light: #5f8a63; $custom-dark: #000000;
JSON
{
"hex": "#185b28",
"rgb": {
"r": 24,
"g": 91,
"b": 40
},
"hsl": {
"h": 134.328,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.41671,
"c": 0.10523,
"h": 147.7
},
"luminance": 0.0783
}Semantic roles & 50–950 ramp
primary
#185B28
secondary
#923D7D
accent
#46BCE1
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79