#228F5F#228F5F

#228F5F is a mid, vivid teal. Relative luminance 0.208; OKLCH L 57.8% C 0.121 H 159.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#228F5F
RGBrgb(34, 143, 95)
HSLhsl(154, 62%, 35%)
HSVhsv(154, 76%, 56%)
CMYKcmyk(76.2%, 0%, 33.6%, 43.9%)
CIE-LABlab(52.74, -41.71, 17.14)
CIE-LCHlch(52.74, 45.10, 157.66°)
OKLaboklab(57.82% -0.1132 0.0433)
OKLCHoklch(57.82% 0.121 159.1)
XYZxyz(12.5464, 20.8097, 14.1797)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F5F #8F2252
analogous
#228F29 #228F5F #22898F
triadic
#228F5F #5F228F #8F5F22
tetradic
#228F5F #29228F #8F2252 #898F22
square
#228F5F #29228F #8F2252 #898F22
split-complementary
#228F5F #8F2289 #8F2922
monochromatic
#0A2C1D #165E3E #228F5F #2EC080 #55D79D

Accessibility & contrast

On white

4.07
#228F5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#228F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F5F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F5F#FFFFFF#000000##000000
##228F5F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D845C
Deuteranopia (green-blind)
#807A62
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228f5f;
/* rgb */ color: rgb(34, 143, 95);
/* oklch */ color: oklch(57.8% 0.121 159.1);
Tailwind
colors: {
  custom: {
    50: '#6eb18c',
    500: '#228f5f',
    950: '#000000',
  },
}
SCSS
$custom: #228f5f;
$custom-light: #6eb18c;
$custom-dark: #000000;
JSON
{
  "hex": "#228f5f",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 95
  },
  "hsl": {
    "h": 153.578,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.12124,
    "h": 159.1
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#228F5F
secondary
#BA5280
accent
#438AE5
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #228F5F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#228F5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva