#217F2D#217F2D
#217F2D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.147 H 145.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #217F2D |
|---|---|
| RGB | rgb(33, 127, 45) |
| HSL | hsl(128, 59%, 31%) |
| HSV | hsv(128, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 64.6%, 50.2%) |
| CIE-LAB | lab(46.57, -44.43, 36.00) |
| CIE-LCH | lch(46.57, 57.19, 140.99°) |
| OKLab | oklab(52.46% -0.12 0.0842) |
| OKLCH | oklch(52.46% 0.147 145) |
| XYZ | xyz(8.6896, 15.6906, 5.0527) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.31
Tree Green
#2A7E19
ΔE00 3.14
Green
#008000
ΔE00 4.46
Jungle Green
#048243
ΔE00 4.56
Forestgreen (CSS)
#228B22
ΔE00 5.00
Dark Grass Green
#388004
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F2D #7F2173
analogous
#447F21 #217F2D #217F5C
triadic
#217F2D #2D217F #7F2D21
tetradic
#217F2D #21447F #7F2173 #7F5C21
square
#217F2D #21447F #7F2173 #7F5C21
split-complementary
#217F2D #5C217F #7F2144
monochromatic
#081E0B #144E1C #217F2D #2EB03E #4AD05B
Accessibility & contrast
On white
5.07
#217F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#217F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F2D
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F2D | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f2d; /* rgb */ color: rgb(33, 127, 45); /* oklch */ color: oklch(52.5% 0.147 145.0);
Tailwind
colors: {
custom: {
50: '#6ba569',
500: '#217f2d',
950: '#000000',
},
}SCSS
$custom: #217f2d; $custom-light: #6ba569; $custom-dark: #000000;
JSON
{
"hex": "#217f2d",
"rgb": {
"r": 33,
"g": 127,
"b": 45
},
"hsl": {
"h": 127.66,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52463,
"c": 0.14662,
"h": 145
},
"luminance": 0.15692
}Semantic roles & 50–950 ramp
primary
#217F2D
secondary
#B24AA4
accent
#46CEE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A