#21703B#21703B
#21703B is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.113 H 150.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #21703B |
|---|---|
| RGB | rgb(33, 112, 59) |
| HSL | hsl(140, 54%, 28%) |
| HSV | hsv(140, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 47.3%, 56.1%) |
| CIE-LAB | lab(41.57, -36.50, 22.67) |
| CIE-LCH | lch(41.57, 42.97, 148.16°) |
| OKLab | oklab(48.4% -0.0984 0.0557) |
| OKLCH | oklch(48.4% 0.113 150.5) |
| XYZ | xyz(7.2102, 12.2267, 6.1168) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.05
Jungle Green
#048243
ΔE00 6.36
Spruce
#0A5F38
ΔE00 6.48
Pine
#2B5D34
ΔE00 6.79
Hunter Green
#355E3B
ΔE00 7.65
Forest Green
#2D5A27
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21703B #702156
analogous
#2E7021 #21703B #217062
triadic
#21703B #3B2170 #703B21
tetradic
#21703B #212E70 #702156 #706221
square
#21703B #212E70 #702156 #706221
split-complementary
#21703B #622170 #70212E
monochromatic
#07180C #134122 #21703B #2F9F54 #44C86F
Accessibility & contrast
On white
6.10
#21703B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#21703B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21703B
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21703B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21703B | 1.00 | 6.10 | 3.45 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716637
Deuteranopia (green-blind)
#675F3F
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #21703b; /* rgb */ color: rgb(33, 112, 59); /* oklch */ color: oklch(48.4% 0.113 150.5);
Tailwind
colors: {
custom: {
50: '#679a72',
500: '#21703b',
950: '#000000',
},
}SCSS
$custom: #21703b; $custom-light: #679a72; $custom-dark: #000000;
JSON
{
"hex": "#21703b",
"rgb": {
"r": 33,
"g": 112,
"b": 59
},
"hsl": {
"h": 139.747,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.48395,
"c": 0.11306,
"h": 150.5
},
"luminance": 0.12227
}Semantic roles & 50–950 ramp
primary
#21703B
secondary
#A44986
accent
#4AADDE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B