#185938#185938
#185938 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.085 H 156.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #185938 |
|---|---|
| RGB | rgb(24, 89, 56) |
| HSL | hsl(150, 58%, 22%) |
| HSV | hsv(150, 73%, 35%) |
| CMYK | cmyk(73%, 0%, 37.1%, 65.1%) |
| CIE-LAB | lab(33.19, -28.98, 13.35) |
| CIE-LCH | lch(33.19, 31.91, 155.27°) |
| OKLab | oklab(41.4% -0.0786 0.0336) |
| OKLCH | oklch(41.4% 0.085 156.8) |
| XYZ | xyz(4.6624, 7.6240, 4.9665) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.59
Pine
#2B5D34
ΔE00 3.71
Hunter Green
#355E3B
ΔE00 4.42
Evergreen
#05472A
ΔE00 5.69
Forest Green
#2D5A27
ΔE00 6.37
Pine Green
#0A481E
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185938 #591839
analogous
#195918 #185938 #185958
triadic
#185938 #381859 #593818
tetradic
#185938 #181959 #591839 #595818
square
#185938 #181959 #591839 #595818
split-complementary
#185938 #581859 #591819
monochromatic
#06180F #0B291A #185938 #258956 #32B975
Accessibility & contrast
On white
8.32
#185938 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#185938 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185938
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185938 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585236
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #185938; /* rgb */ color: rgb(24, 89, 56); /* oklch */ color: oklch(41.4% 0.085 156.8);
Tailwind
colors: {
custom: {
50: '#5e886e',
500: '#185938',
950: '#000000',
},
}SCSS
$custom: #185938; $custom-light: #5e886e; $custom-dark: #000000;
JSON
{
"hex": "#185938",
"rgb": {
"r": 24,
"g": 89,
"b": 56
},
"hsl": {
"h": 149.538,
"s": 57.522,
"l": 22.157
},
"oklch": {
"l": 0.41403,
"c": 0.08548,
"h": 156.8
},
"luminance": 0.07624
}Semantic roles & 50–950 ramp
primary
#185938
secondary
#903D67
accent
#4795E1
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050B07
muted
#797C7A