#217042#217042
#217042 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.106 H 153.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #217042 |
|---|---|
| RGB | rgb(33, 112, 66) |
| HSL | hsl(145, 54%, 28%) |
| HSV | hsv(145, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 41.1%, 56.1%) |
| CIE-LAB | lab(41.70, -35.15, 18.83) |
| CIE-LCH | lch(41.70, 39.87, 151.82°) |
| OKLab | oklab(48.54% -0.095 0.0469) |
| OKLCH | oklch(48.54% 0.106 153.7) |
| XYZ | xyz(7.4041, 12.3042, 7.1379) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.89
Darkish Green
#287C37
ΔE00 6.23
Pine
#2B5D34
ΔE00 6.67
Jungle Green
#048243
ΔE00 6.79
Hunter Green
#355E3B
ΔE00 7.22
Forest Green
#2D5A27
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217042 #70214F
analogous
#277021 #217042 #217069
triadic
#217042 #422170 #704221
tetradic
#217042 #212770 #70214F #706921
square
#217042 #212770 #70214F #706921
split-complementary
#217042 #692170 #702127
monochromatic
#07180E #134126 #217042 #2F9F5E #44C87B
Accessibility & contrast
On white
6.07
#217042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#217042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217042
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217042 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70673F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #217042; /* rgb */ color: rgb(33, 112, 66); /* oklch */ color: oklch(48.5% 0.106 153.7);
Tailwind
colors: {
custom: {
50: '#679a77',
500: '#217042',
950: '#000000',
},
}SCSS
$custom: #217042; $custom-light: #679a77; $custom-dark: #000000;
JSON
{
"hex": "#217042",
"rgb": {
"r": 33,
"g": 112,
"b": 66
},
"hsl": {
"h": 145.063,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.48535,
"c": 0.10592,
"h": 153.7
},
"luminance": 0.12305
}Semantic roles & 50–950 ramp
primary
#217042
secondary
#A4497E
accent
#4AA0DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B