#21704F#21704F
#21704F is a mid, moderate teal. Relative luminance 0.125; OKLCH L 48.8% C 0.093 H 161.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #21704F |
|---|---|
| RGB | rgb(33, 112, 79) |
| HSL | hsl(155, 54%, 28%) |
| HSV | hsv(155, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 29.5%, 56.1%) |
| CIE-LAB | lab(41.96, -32.26, 11.57) |
| CIE-LCH | lch(41.96, 34.27, 160.27°) |
| OKLab | oklab(48.84% -0.0883 0.0295) |
| OKLCH | oklch(48.84% 0.093 161.6) |
| XYZ | xyz(7.8319, 12.4753, 9.3908) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 6.36
Hunter Green
#355E3B
ΔE00 7.61
Pine
#2B5D34
ΔE00 7.82
Dark Sea Green
#11875D
ΔE00 8.19
Dark Green Blue
#1F6357
ΔE00 8.34
Jungle Green
#048243
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21704F #702142
analogous
#217027 #21704F #216970
triadic
#21704F #4F2170 #704F21
tetradic
#21704F #272170 #702142 #697021
square
#21704F #272170 #702142 #697021
split-complementary
#21704F #702169 #702721
monochromatic
#071811 #13412E #21704F #2F9F70 #44C891
Accessibility & contrast
On white
6.01
#21704F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#21704F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21704F
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21704F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21704F | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E674D
Deuteranopia (green-blind)
#646051
Tritanopia (blue-blind)
#007067
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #21704f; /* rgb */ color: rgb(33, 112, 79); /* oklch */ color: oklch(48.8% 0.093 161.6);
Tailwind
colors: {
custom: {
50: '#679a80',
500: '#21704f',
950: '#000000',
},
}SCSS
$custom: #21704f; $custom-light: #679a80; $custom-dark: #000000;
JSON
{
"hex": "#21704f",
"rgb": {
"r": 33,
"g": 112,
"b": 79
},
"hsl": {
"h": 154.937,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.48841,
"c": 0.09307,
"h": 161.6
},
"luminance": 0.12476
}Semantic roles & 50–950 ramp
primary
#21704F
secondary
#A4496F
accent
#4A88DE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C