#217D1B#217D1B
#217D1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.157 H 142.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #217D1B |
|---|---|
| RGB | rgb(33, 125, 27) |
| HSL | hsl(116, 64%, 30%) |
| HSV | hsv(116, 78%, 49%) |
| CMYK | cmyk(73.6%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(45.73, -45.51, 42.74) |
| CIE-LCH | lch(45.73, 62.44, 136.80°) |
| OKLab | oklab(51.72% -0.1239 0.0961) |
| OKLCH | oklch(51.72% 0.157 142.2) |
| XYZ | xyz(8.1582, 15.0688, 3.5153) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.01
Green
#008000
ΔE00 2.42
Dark Grass Green
#388004
ΔE00 3.87
Darkish Green
#287C37
ΔE00 4.48
Forestgreen (CSS)
#228B22
ΔE00 4.97
Emerald Green
#028F1E
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217D1B #771B7D
analogous
#527D1B #217D1B #1B7D46
triadic
#217D1B #1B217D #7D1B21
tetradic
#217D1B #1B527D #771B7D #7D461B
square
#217D1B #1B527D #771B7D #7D461B
split-complementary
#217D1B #461B7D #7D1B52
monochromatic
#071905 #144B10 #217D1B #2EAF26 #47D53D
Accessibility & contrast
On white
5.23
#217D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#217D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217D1B
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217D1B | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#05796A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #217d1b; /* rgb */ color: rgb(33, 125, 27); /* oklch */ color: oklch(51.7% 0.157 142.2);
Tailwind
colors: {
custom: {
50: '#6ca45f',
500: '#217d1b',
950: '#000000',
},
}SCSS
$custom: #217d1b; $custom-light: #6ca45f; $custom-dark: #000000;
JSON
{
"hex": "#217d1b",
"rgb": {
"r": 33,
"g": 125,
"b": 27
},
"hsl": {
"h": 116.327,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.51721,
"c": 0.15678,
"h": 142.2
},
"luminance": 0.1507
}Semantic roles & 50–950 ramp
primary
#217D1B
secondary
#AA43B1
accent
#40E7DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79