#21704B#21704B
#21704B is a mid, moderate teal. Relative luminance 0.124; OKLCH L 48.7% C 0.097 H 158.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #21704B |
|---|---|
| RGB | rgb(33, 112, 75) |
| HSL | hsl(152, 54%, 28%) |
| HSV | hsv(152, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 33%, 56.1%) |
| CIE-LAB | lab(41.87, -33.20, 13.82) |
| CIE-LCH | lch(41.87, 35.96, 157.40°) |
| OKLab | oklab(48.74% -0.0904 0.035) |
| OKLCH | oklch(48.74% 0.097 158.8) |
| XYZ | xyz(7.6906, 12.4188, 8.6470) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 5.95
Pine
#2B5D34
ΔE00 7.27
Hunter Green
#355E3B
ΔE00 7.29
Jungle Green
#048243
ΔE00 8.08
Dark Sea Green
#11875D
ΔE00 8.14
Darkish Green
#287C37
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21704B #702146
analogous
#217023 #21704B #216D70
triadic
#21704B #4B2170 #704B21
tetradic
#21704B #232170 #702146 #6D7021
square
#21704B #232170 #702146 #6D7021
split-complementary
#21704B #70216D #702321
monochromatic
#071810 #13412B #21704B #2F9F6B #44C88A
Accessibility & contrast
On white
6.03
#21704B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#21704B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21704B
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21704B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21704B | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6749
Deuteranopia (green-blind)
#65604D
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #21704b; /* rgb */ color: rgb(33, 112, 75); /* oklch */ color: oklch(48.7% 0.097 158.8);
Tailwind
colors: {
custom: {
50: '#679a7d',
500: '#21704b',
950: '#000000',
},
}SCSS
$custom: #21704b; $custom-light: #679a7d; $custom-dark: #000000;
JSON
{
"hex": "#21704b",
"rgb": {
"r": 33,
"g": 112,
"b": 75
},
"hsl": {
"h": 151.899,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.4874,
"c": 0.09689,
"h": 158.8
},
"luminance": 0.1242
}Semantic roles & 50–950 ramp
primary
#21704B
secondary
#A44974
accent
#4A8FDE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B