#215838#215838
#215838 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.079 H 155.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #215838 |
|---|---|
| RGB | rgb(33, 88, 56) |
| HSL | hsl(145, 45%, 24%) |
| HSV | hsv(145, 63%, 35%) |
| CMYK | cmyk(62.5%, 0%, 36.4%, 65.5%) |
| CIE-LAB | lab(33.11, -26.47, 13.29) |
| CIE-LCH | lch(33.11, 29.62, 153.35°) |
| OKLab | oklab(41.42% -0.072 0.0335) |
| OKLCH | oklch(41.42% 0.079 155.1) |
| XYZ | xyz(4.8303, 7.5878, 4.9507) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.34
Spruce
#0A5F38
ΔE00 3.49
Hunter Green
#355E3B
ΔE00 3.64
Evergreen
#05472A
ΔE00 5.63
Forest Green
#2D5A27
ΔE00 5.99
Pine Green
#0A481E
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#215838 #582141
analogous
#255821 #215838 #215853
triadic
#215838 #382158 #583821
tetradic
#215838 #212558 #582141 #585321
square
#215838 #212558 #582141 #585321
split-complementary
#215838 #532158 #582125
monochromatic
#08160E #102B1C #215838 #328554 #42B171
Accessibility & contrast
On white
8.34
#215838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#215838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #215838
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##215838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##215838 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585136
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#0E5750
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #215838; /* rgb */ color: rgb(33, 88, 56); /* oklch */ color: oklch(41.4% 0.079 155.1);
Tailwind
colors: {
custom: {
50: '#62876e',
500: '#215838',
950: '#000000',
},
}SCSS
$custom: #215838; $custom-light: #62876e; $custom-dark: #000000;
JSON
{
"hex": "#215838",
"rgb": {
"r": 33,
"g": 88,
"b": 56
},
"hsl": {
"h": 145.091,
"s": 45.455,
"l": 23.725
},
"oklch": {
"l": 0.41418,
"c": 0.07937,
"h": 155.1
},
"luminance": 0.07588
}Semantic roles & 50–950 ramp
primary
#215838
secondary
#8C4970
accent
#539FD5
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A