#217C1B#217C1B
#217C1B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.156 H 142.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #217C1B |
|---|---|
| RGB | rgb(33, 124, 27) |
| HSL | hsl(116, 64%, 30%) |
| HSV | hsv(116, 78%, 49%) |
| CMYK | cmyk(73.4%, 0%, 78.2%, 51.4%) |
| CIE-LAB | lab(45.38, -45.16, 42.40) |
| CIE-LCH | lch(45.38, 61.95, 136.81°) |
| OKLab | oklab(51.43% -0.1229 0.0954) |
| OKLCH | oklch(51.43% 0.156 142.2) |
| XYZ | xyz(8.0322, 14.8169, 3.4733) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.23
Green
#008000
ΔE00 2.63
Dark Grass Green
#388004
ΔE00 4.04
Darkish Green
#287C37
ΔE00 4.39
Forestgreen (CSS)
#228B22
ΔE00 5.33
Emerald Green
#028F1E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C1B #761B7C
analogous
#517C1B #217C1B #1B7C46
triadic
#217C1B #1B217C #7C1B21
tetradic
#217C1B #1B517C #761B7C #7C461B
square
#217C1B #1B517C #761B7C #7C461B
split-complementary
#217C1B #461B7C #7C1B51
monochromatic
#071905 #144A10 #217C1B #2EAE26 #46D53D
Accessibility & contrast
On white
5.30
#217C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#217C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C1B
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C1B | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#05786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #217c1b; /* rgb */ color: rgb(33, 124, 27); /* oklch */ color: oklch(51.4% 0.156 142.2);
Tailwind
colors: {
custom: {
50: '#6ca35f',
500: '#217c1b',
950: '#000000',
},
}SCSS
$custom: #217c1b; $custom-light: #6ca35f; $custom-dark: #000000;
JSON
{
"hex": "#217c1b",
"rgb": {
"r": 33,
"g": 124,
"b": 27
},
"hsl": {
"h": 116.289,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.51433,
"c": 0.15559,
"h": 142.2
},
"luminance": 0.14818
}Semantic roles & 50–950 ramp
primary
#217C1B
secondary
#A943B0
accent
#41E7DD
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79