#227E5F#227E5F
#227E5F is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.2% C 0.098 H 166.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #227E5F |
|---|---|
| RGB | rgb(34, 126, 95) |
| HSL | hsl(160, 58%, 31%) |
| HSV | hsv(160, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 24.6%, 50.6%) |
| CIE-LAB | lab(47.09, -34.44, 9.31) |
| CIE-LCH | lch(47.09, 35.68, 164.88°) |
| OKLab | oklab(53.17% -0.0951 0.0238) |
| OKLCH | oklch(53.17% 0.098 166) |
| XYZ | xyz(10.1850, 16.0868, 13.3926) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 4.14
Sea Green
#2E8B57
ΔE00 7.10
Viridian
#1E9167
ΔE00 7.11
Jungle Green
#048243
ΔE00 8.05
Dark Sage
#598556
ΔE00 9.60
Darkish Green
#287C37
ΔE00 9.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E5F #7E2241
analogous
#227E31 #227E5F #226F7E
triadic
#227E5F #5F227E #7E5F22
tetradic
#227E5F #31227E #7E2241 #6F7E22
square
#227E5F #31227E #7E2241 #6F7E22
split-complementary
#227E5F #7E226F #7E3122
monochromatic
#081E16 #154E3B #227E5F #2FAE83 #4CCFA3
Accessibility & contrast
On white
4.98
#227E5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#227E5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E5F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E5F | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B755D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #227e5f; /* rgb */ color: rgb(34, 126, 95); /* oklch */ color: oklch(53.2% 0.098 166.0);
Tailwind
colors: {
custom: {
50: '#6ba48c',
500: '#227e5f',
950: '#000000',
},
}SCSS
$custom: #227e5f; $custom-light: #6ba48c; $custom-dark: #000000;
JSON
{
"hex": "#227e5f",
"rgb": {
"r": 34,
"g": 126,
"b": 95
},
"hsl": {
"h": 159.783,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.53174,
"c": 0.09807,
"h": 166
},
"luminance": 0.16088
}Semantic roles & 50–950 ramp
primary
#227E5F
secondary
#B14B6D
accent
#477BE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D