#228271#228271
#228271 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.8% C 0.090 H 178.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #228271 |
|---|---|
| RGB | rgb(34, 130, 113) |
| HSL | hsl(169, 59%, 32%) |
| HSV | hsv(169, 74%, 51%) |
| CMYK | cmyk(73.8%, 0%, 13.1%, 49%) |
| CIE-LAB | lab(48.88, -31.48, 1.32) |
| CIE-LCH | lch(48.88, 31.51, 177.60°) |
| OKLab | oklab(54.79% -0.0904 0.003) |
| OKLCH | oklch(54.79% 0.09 178.1) |
| XYZ | xyz(11.6215, 17.4962, 18.3842) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 6.38
Teal (survey)
#029386
ΔE00 6.48
Teal
#008080
ΔE00 6.96
Bluegreen
#017A79
ΔE00 7.04
Dusty Teal
#4C9085
ΔE00 7.24
Darkcyan
#008B8B
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228271 #822233
analogous
#228241 #228271 #226382
triadic
#228271 #712282 #827122
tetradic
#228271 #412282 #822233 #638222
square
#228271 #412282 #822233 #638222
split-complementary
#228271 #822263 #824122
monochromatic
#09211D #155147 #228271 #2FB39B #4ED1B9
Accessibility & contrast
On white
4.67
#228271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#228271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #228271
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##228271 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#6F7072
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #228271; /* rgb */ color: rgb(34, 130, 113); /* oklch */ color: oklch(54.8% 0.090 178.1);
Tailwind
colors: {
custom: {
50: '#6da799',
500: '#228271',
950: '#000000',
},
}SCSS
$custom: #228271; $custom-light: #6da799; $custom-dark: #000000;
JSON
{
"hex": "#228271",
"rgb": {
"r": 34,
"g": 130,
"b": 113
},
"hsl": {
"h": 169.375,
"s": 58.537,
"l": 32.157
},
"oklch": {
"l": 0.54794,
"c": 0.09045,
"h": 178.1
},
"luminance": 0.17498
}Semantic roles & 50–950 ramp
primary
#228271
secondary
#B44C5E
accent
#4662E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E