#217229#217229
#217229 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.133 H 144.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #217229 |
|---|---|
| RGB | rgb(33, 114, 41) |
| HSL | hsl(126, 55%, 29%) |
| HSV | hsv(126, 71%, 45%) |
| CMYK | cmyk(71.1%, 0%, 64%, 55.3%) |
| CIE-LAB | lab(42.03, -40.09, 32.78) |
| CIE-LCH | lch(42.03, 51.79, 140.73°) |
| OKLab | oklab(48.69% -0.1085 0.0769) |
| OKLCH | oklch(48.69% 0.133 144.7) |
| XYZ | xyz(7.0443, 12.5173, 4.1422) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.74
Tree Green
#2A7E19
ΔE00 5.61
Darkgreen
#006400
ΔE00 6.00
Jungle Green
#048243
ΔE00 6.67
Green
#008000
ΔE00 6.96
Dark Grass Green
#388004
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217229 #72216A
analogous
#427221 #217229 #217252
triadic
#217229 #292172 #722921
tetradic
#217229 #214272 #72216A #725221
square
#217229 #214272 #72216A #725221
split-complementary
#217229 #522172 #722142
monochromatic
#071809 #134318 #217229 #2FA13A #44C952
Accessibility & contrast
On white
5.99
#217229 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#217229 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217229
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217229 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6A612F
Tritanopia (blue-blind)
#076F62
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #217229; /* rgb */ color: rgb(33, 114, 41); /* oklch */ color: oklch(48.7% 0.133 144.7);
Tailwind
colors: {
custom: {
50: '#699b66',
500: '#217229',
950: '#000000',
},
}SCSS
$custom: #217229; $custom-light: #699b66; $custom-dark: #000000;
JSON
{
"hex": "#217229",
"rgb": {
"r": 33,
"g": 114,
"b": 41
},
"hsl": {
"h": 125.926,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.4869,
"c": 0.13295,
"h": 144.7
},
"luminance": 0.12518
}Semantic roles & 50–950 ramp
primary
#217229
secondary
#A5499C
accent
#49D0DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A