#228C5F#228C5F
#228C5F is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.0% C 0.117 H 160.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #228C5F |
|---|---|
| RGB | rgb(34, 140, 95) |
| HSL | hsl(155, 61%, 34%) |
| HSV | hsv(155, 76%, 55%) |
| CMYK | cmyk(75.7%, 0%, 32.1%, 45.1%) |
| CIE-LAB | lab(51.75, -40.47, 15.79) |
| CIE-LCH | lch(51.75, 43.44, 158.69°) |
| OKLab | oklab(57% -0.1101 0.04) |
| OKLCH | oklch(57% 0.117 160) |
| XYZ | xyz(12.1021, 19.9210, 14.0316) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Viridian
#1E9167
ΔE00 2.12
Dark Sea Green
#11875D
ΔE00 2.16
Sea Green
#2E8B57
ΔE00 2.29
Ocean Green
#3D9973
ΔE00 5.54
Jungle Green
#048243
ΔE00 6.16
Light Forest Green
#4F9153
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228C5F #8C224F
analogous
#228C2A #228C5F #22848C
triadic
#228C5F #5F228C #8C5F22
tetradic
#228C5F #2A228C #8C224F #848C22
square
#228C5F #2A228C #8C224F #848C22
split-complementary
#228C5F #8C2284 #8C2A22
monochromatic
#0A2A1C #165B3E #228C5F #2EBD80 #53D59E
Accessibility & contrast
On white
4.21
#228C5F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#228C5F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228C5F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228C5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228C5F | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A815C
Deuteranopia (green-blind)
#7D7862
Tritanopia (blue-blind)
#008B80
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #228c5f; /* rgb */ color: rgb(34, 140, 95); /* oklch */ color: oklch(57.0% 0.117 160.0);
Tailwind
colors: {
custom: {
50: '#6eae8c',
500: '#228c5f',
950: '#000000',
},
}SCSS
$custom: #228c5f; $custom-light: #6eae8c; $custom-dark: #000000;
JSON
{
"hex": "#228c5f",
"rgb": {
"r": 34,
"g": 140,
"b": 95
},
"hsl": {
"h": 154.528,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.57002,
"c": 0.11716,
"h": 160
},
"luminance": 0.19922
}Semantic roles & 50–950 ramp
primary
#228C5F
secondary
#B9517D
accent
#4488E4
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D