#227F5F#227F5F
#227F5F is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.4% C 0.099 H 165.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #227F5F |
|---|---|
| RGB | rgb(34, 127, 95) |
| HSL | hsl(159, 58%, 32%) |
| HSV | hsv(159, 73%, 50%) |
| CMYK | cmyk(73.2%, 0%, 25.2%, 50.2%) |
| CIE-LAB | lab(47.42, -34.89, 9.78) |
| CIE-LCH | lch(47.42, 36.23, 164.34°) |
| OKLab | oklab(53.45% -0.0962 0.025) |
| OKLCH | oklch(53.45% 0.099 165.4) |
| XYZ | xyz(10.3135, 16.3439, 13.4354) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 3.71
Sea Green
#2E8B57
ΔE00 6.68
Viridian
#1E9167
ΔE00 6.68
Jungle Green
#048243
ΔE00 7.75
Dark Sage
#598556
ΔE00 9.36
Ocean Green
#3D9973
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F5F #7F2242
analogous
#227F31 #227F5F #22717F
triadic
#227F5F #5F227F #7F5F22
tetradic
#227F5F #31227F #7F2242 #717F22
square
#227F5F #31227F #7F2242 #717F22
split-complementary
#227F5F #7F2271 #7F3122
monochromatic
#081E17 #154F3B #227F5F #2FAF83 #4CCFA2
Accessibility & contrast
On white
4.92
#227F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#227F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F5F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F5F | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C765D
Deuteranopia (green-blind)
#706D61
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #227f5f; /* rgb */ color: rgb(34, 127, 95); /* oklch */ color: oklch(53.4% 0.099 165.4);
Tailwind
colors: {
custom: {
50: '#6ba58c',
500: '#227f5f',
950: '#000000',
},
}SCSS
$custom: #227f5f; $custom-light: #6ba58c; $custom-dark: #000000;
JSON
{
"hex": "#227f5f",
"rgb": {
"r": 34,
"g": 127,
"b": 95
},
"hsl": {
"h": 159.355,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.53448,
"c": 0.09942,
"h": 165.4
},
"luminance": 0.16345
}Semantic roles & 50–950 ramp
primary
#227F5F
secondary
#B24B6E
accent
#477CE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D