#228F5D#228F5D

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

Color values

HEX#228F5D
RGBrgb(34, 143, 93)
HSLhsl(152, 62%, 35%)
HSVhsv(152, 76%, 56%)
CMYKcmyk(76.2%, 0%, 35%, 43.9%)
CIE-LABlab(52.70, -42.15, 18.21)
CIE-LCHlch(52.70, 45.92, 156.63°)
OKLaboklab(57.77% -0.1142 0.0459)
OKLCHoklch(57.77% 0.123 158.1)
XYZxyz(12.4567, 20.7738, 13.7071)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F5D #8F2254
analogous
#228F26 #228F5D #228B8F
triadic
#228F5D #5D228F #8F5D22
tetradic
#228F5D #26228F #8F2254 #8B8F22
square
#228F5D #26228F #8F2254 #8B8F22
split-complementary
#228F5D #8F228B #8F2622
monochromatic
#0A2C1D #165E3D #228F5D #2EC07D #55D79B

Accessibility & contrast

On white

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

On black

5.15
#228F5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F5D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F5D#FFFFFF#000000##000000
##228F5D1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228f5d;
/* rgb */ color: rgb(34, 143, 93);
/* oklch */ color: oklch(57.8% 0.123 158.1);
Tailwind
colors: {
  custom: {
    50: '#6eb18b',
    500: '#228f5d',
    950: '#000000',
  },
}
SCSS
$custom: #228f5d;
$custom-light: #6eb18b;
$custom-dark: #000000;
JSON
{
  "hex": "#228f5d",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 152.477,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.12311,
    "h": 158.1
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#228F5D
secondary
#BA5282
accent
#438DE5
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #228F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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