#216228#216228
#216228 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.112 H 145.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #216228 |
|---|---|
| RGB | rgb(33, 98, 40) |
| HSL | hsl(126, 50%, 26%) |
| HSV | hsv(126, 66%, 38%) |
| CMYK | cmyk(66.3%, 0%, 59.2%, 61.6%) |
| CIE-LAB | lab(36.39, -33.86, 26.72) |
| CIE-LCH | lch(36.39, 43.14, 141.72°) |
| OKLab | oklab(44.03% -0.0916 0.0637) |
| OKLCH | oklch(44.03% 0.112 145.2) |
| XYZ | xyz(5.3775, 9.2114, 3.5017) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.46
Pine
#2B5D34
ΔE00 4.24
Deep Green
#02590F
ΔE00 4.44
Forest
#0B5509
ΔE00 5.45
Spruce
#0A5F38
ΔE00 5.52
Darkgreen
#006400
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#216228 #62215B
analogous
#3A6221 #216228 #216248
triadic
#216228 #282162 #622821
tetradic
#216228 #213A62 #62215B #624821
square
#216228 #213A62 #62215B #624821
split-complementary
#216228 #482162 #62213A
monochromatic
#081709 #123415 #216228 #30903B #40BE4D
Accessibility & contrast
On white
7.39
#216228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#216228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #216228
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##216228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##216228 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645922
Deuteranopia (green-blind)
#5C532C
Tritanopia (blue-blind)
#125F55
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #216228; /* rgb */ color: rgb(33, 98, 40); /* oklch */ color: oklch(44.0% 0.112 145.2);
Tailwind
colors: {
custom: {
50: '#658f64',
500: '#216228',
950: '#000000',
},
}SCSS
$custom: #216228; $custom-light: #658f64; $custom-dark: #000000;
JSON
{
"hex": "#216228",
"rgb": {
"r": 33,
"g": 98,
"b": 40
},
"hsl": {
"h": 126.462,
"s": 49.618,
"l": 25.686
},
"oklch": {
"l": 0.44027,
"c": 0.1116,
"h": 145.2
},
"luminance": 0.09212
}Semantic roles & 50–950 ramp
primary
#216228
secondary
#96498E
accent
#4FCAD9
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A