#21704C#21704C
#21704C is a mid, moderate teal. Relative luminance 0.124; OKLCH L 48.8% C 0.096 H 159.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #21704C |
|---|---|
| RGB | rgb(33, 112, 76) |
| HSL | hsl(153, 54%, 28%) |
| HSV | hsv(153, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 32.1%, 56.1%) |
| CIE-LAB | lab(41.90, -32.97, 13.26) |
| CIE-LCH | lch(41.90, 35.53, 158.10°) |
| OKLab | oklab(48.77% -0.0898 0.0336) |
| OKLCH | oklch(48.77% 0.096 159.5) |
| XYZ | xyz(7.7251, 12.4326, 8.8287) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 6.03
Hunter Green
#355E3B
ΔE00 7.35
Pine
#2B5D34
ΔE00 7.39
Dark Sea Green
#11875D
ΔE00 8.13
Jungle Green
#048243
ΔE00 8.27
Darkish Green
#287C37
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21704C #702145
analogous
#217024 #21704C #216C70
triadic
#21704C #4C2170 #704C21
tetradic
#21704C #242170 #702145 #6C7021
square
#21704C #242170 #702145 #6C7021
split-complementary
#21704C #70216C #702421
monochromatic
#071810 #13412C #21704C #2F9F6C #44C88C
Accessibility & contrast
On white
6.02
#21704C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#21704C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21704C
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21704C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21704C | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F674A
Deuteranopia (green-blind)
#64604E
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #21704c; /* rgb */ color: rgb(33, 112, 76); /* oklch */ color: oklch(48.8% 0.096 159.5);
Tailwind
colors: {
custom: {
50: '#679a7e',
500: '#21704c',
950: '#000000',
},
}SCSS
$custom: #21704c; $custom-light: #679a7e; $custom-dark: #000000;
JSON
{
"hex": "#21704c",
"rgb": {
"r": 33,
"g": 112,
"b": 76
},
"hsl": {
"h": 152.658,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.48765,
"c": 0.09592,
"h": 159.5
},
"luminance": 0.12433
}Semantic roles & 50–950 ramp
primary
#21704C
secondary
#A44972
accent
#4A8DDE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C