#228152#228152

#228152 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.7% C 0.114 H 156.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#228152
RGBrgb(34, 129, 82)
HSLhsl(150, 58%, 32%)
HSVhsv(150, 74%, 51%)
CMYKcmyk(73.6%, 0%, 36.4%, 49.4%)
CIE-LABlab(47.81, -38.77, 17.83)
CIE-LCHlch(47.81, 42.67, 155.30°)
OKLaboklab(53.68% -0.105 0.0448)
OKLCHoklch(53.68% 0.114 156.9)
XYZxyz(10.0320, 16.6486, 10.6658)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228152 #812251
analogous
#228123 #228152 #228181
triadic
#228152 #522281 #815222
tetradic
#228152 #232281 #812251 #818122
square
#228152 #232281 #812251 #818122
split-complementary
#228152 #812281 #812322
monochromatic
#082014 #155133 #228152 #2FB171 #4DD08F

Accessibility & contrast

On white

4.85
#228152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#228152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228152
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228152#FFFFFF#000000##FFFFFF
##2281521.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764F
Deuteranopia (green-blind)
#746E55
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228152;
/* rgb */ color: rgb(34, 129, 82);
/* oklch */ color: oklch(53.7% 0.114 156.9);
Tailwind
colors: {
  custom: {
    50: '#6ba683',
    500: '#228152',
    950: '#000000',
  },
}
SCSS
$custom: #228152;
$custom-light: #6ba683;
$custom-dark: #000000;
JSON
{
  "hex": "#228152",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 150.316,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53679,
    "c": 0.11415,
    "h": 156.9
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#228152
secondary
#B34B7F
accent
#4693E1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #228152

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

Preview Lab → · Contrast checker → · Palette generator →

#228152 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva