#217242#217242
#217242 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.109 H 153.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #217242 |
|---|---|
| RGB | rgb(33, 114, 66) |
| HSL | hsl(144, 55%, 29%) |
| HSV | hsv(144, 71%, 45%) |
| CMYK | cmyk(71.1%, 0%, 42.1%, 55.3%) |
| CIE-LAB | lab(42.38, -35.99, 19.74) |
| CIE-LCH | lch(42.38, 41.05, 151.26°) |
| OKLab | oklab(49.1% -0.0972 0.0491) |
| OKLCH | oklch(49.1% 0.109 153.2) |
| XYZ | xyz(7.6272, 12.7505, 7.2123) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.51
Jungle Green
#048243
ΔE00 6.02
Spruce
#0A5F38
ΔE00 6.61
Pine
#2B5D34
ΔE00 7.32
Hunter Green
#355E3B
ΔE00 7.87
Dark Sea Green
#11875D
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217242 #722151
analogous
#297221 #217242 #21726B
triadic
#217242 #422172 #724221
tetradic
#217242 #212972 #722151 #726B21
square
#217242 #212972 #722151 #726B21
split-complementary
#217242 #6B2172 #722129
monochromatic
#07180E #134327 #217242 #2FA15D #44C97A
Accessibility & contrast
On white
5.92
#217242 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#217242 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217242
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217242 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #217242; /* rgb */ color: rgb(33, 114, 66); /* oklch */ color: oklch(49.1% 0.109 153.2);
Tailwind
colors: {
custom: {
50: '#689b77',
500: '#217242',
950: '#000000',
},
}SCSS
$custom: #217242; $custom-light: #689b77; $custom-dark: #000000;
JSON
{
"hex": "#217242",
"rgb": {
"r": 33,
"g": 114,
"b": 66
},
"hsl": {
"h": 144.444,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.49102,
"c": 0.10886,
"h": 153.2
},
"luminance": 0.12751
}Semantic roles & 50–950 ramp
primary
#217242
secondary
#A54980
accent
#49A2DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B