#21723F#21723F
#21723F is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.112 H 151.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #21723F |
|---|---|
| RGB | rgb(33, 114, 63) |
| HSL | hsl(142, 55%, 29%) |
| HSV | hsv(142, 71%, 45%) |
| CMYK | cmyk(71.1%, 0%, 44.7%, 55.3%) |
| CIE-LAB | lab(42.33, -36.58, 21.38) |
| CIE-LCH | lch(42.33, 42.37, 149.69°) |
| OKLab | oklab(49.04% -0.0986 0.0528) |
| OKLCH | oklch(49.04% 0.112 151.8) |
| XYZ | xyz(7.5411, 12.7160, 6.7587) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.94
Jungle Green
#048243
ΔE00 5.80
Spruce
#0A5F38
ΔE00 6.83
Pine
#2B5D34
ΔE00 7.35
Hunter Green
#355E3B
ΔE00 8.03
Dark Sea Green
#11875D
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21723F #722154
analogous
#2C7221 #21723F #217268
triadic
#21723F #3F2172 #723F21
tetradic
#21723F #212C72 #722154 #726821
square
#21723F #212C72 #722154 #726821
split-complementary
#21723F #682172 #72212C
monochromatic
#07180D #134325 #21723F #2FA159 #44C976
Accessibility & contrast
On white
5.93
#21723F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#21723F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21723F
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21723F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21723F | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683B
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #21723f; /* rgb */ color: rgb(33, 114, 63); /* oklch */ color: oklch(49.0% 0.112 151.8);
Tailwind
colors: {
custom: {
50: '#689b74',
500: '#21723f',
950: '#000000',
},
}SCSS
$custom: #21723f; $custom-light: #689b74; $custom-dark: #000000;
JSON
{
"hex": "#21723f",
"rgb": {
"r": 33,
"g": 114,
"b": 63
},
"hsl": {
"h": 142.222,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.49042,
"c": 0.11191,
"h": 151.8
},
"luminance": 0.12717
}Semantic roles & 50–950 ramp
primary
#21723F
secondary
#A54983
accent
#49A7DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B