#21701F#21701F
#21701F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.138 H 142.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #21701F |
|---|---|
| RGB | rgb(33, 112, 31) |
| HSL | hsl(119, 57%, 28%) |
| HSV | hsv(119, 72%, 44%) |
| CMYK | cmyk(70.5%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.23, -40.47, 36.55) |
| CIE-LCH | lch(41.23, 54.53, 137.91°) |
| OKLab | oklab(48% -0.11 0.0837) |
| OKLCH | oklch(48% 0.138 142.7) |
| XYZ | xyz(6.6683, 12.0099, 3.2628) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.71
Darkish Green
#287C37
ΔE00 5.02
Tree Green
#2A7E19
ΔE00 5.34
Green
#008000
ΔE00 6.53
Dark Grass Green
#388004
ΔE00 7.53
Deep Green
#02590F
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21701F #6E1F70
analogous
#49701F #21701F #1F7046
triadic
#21701F #1F2170 #701F21
tetradic
#21701F #1F4970 #6E1F70 #70461F
square
#21701F #1F4970 #6E1F70 #70461F
split-complementary
#21701F #461F70 #701F49
monochromatic
#071807 #134012 #21701F #2FA02C #43CA3F
Accessibility & contrast
On white
6.17
#21701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#21701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21701F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21701F | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#0E6D60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #21701f; /* rgb */ color: rgb(33, 112, 31); /* oklch */ color: oklch(48.0% 0.138 142.7);
Tailwind
colors: {
custom: {
50: '#699a5f',
500: '#21701f',
950: '#000000',
},
}SCSS
$custom: #21701f; $custom-light: #699a5f; $custom-dark: #000000;
JSON
{
"hex": "#21701f",
"rgb": {
"r": 33,
"g": 112,
"b": 31
},
"hsl": {
"h": 118.519,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48001,
"c": 0.13824,
"h": 142.7
},
"luminance": 0.12011
}Semantic roles & 50–950 ramp
primary
#21701F
secondary
#A247A4
accent
#48E0DC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79