#228052#228052

#228052 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.4% C 0.113 H 157.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228052
RGBrgb(34, 128, 82)
HSLhsl(151, 58%, 32%)
HSVhsv(151, 73%, 50%)
CMYKcmyk(73.4%, 0%, 35.9%, 49.8%)
CIE-LABlab(47.48, -38.35, 17.38)
CIE-LCHlch(47.48, 42.10, 155.63°)
OKLaboklab(53.4% -0.1039 0.0437)
OKLCHoklch(53.4% 0.113 157.2)
XYZxyz(9.9009, 16.3865, 10.6221)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228052 #802250
analogous
#228023 #228052 #227F80
triadic
#228052 #522280 #805222
tetradic
#228052 #232280 #802250 #7F8022
square
#228052 #232280 #802250 #7F8022
split-complementary
#228052 #80227F #802322
monochromatic
#081F14 #155033 #228052 #2FB071 #4DD090

Accessibility & contrast

On white

4.91
#228052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#228052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228052
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228052#FFFFFF#000000##FFFFFF
##2280521.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F764F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228052;
/* rgb */ color: rgb(34, 128, 82);
/* oklch */ color: oklch(53.4% 0.113 157.2);
Tailwind
colors: {
  custom: {
    50: '#6ba683',
    500: '#228052',
    950: '#000000',
  },
}
SCSS
$custom: #228052;
$custom-light: #6ba683;
$custom-dark: #000000;
JSON
{
  "hex": "#228052",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 82
  },
  "hsl": {
    "h": 150.638,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53401,
    "c": 0.11274,
    "h": 157.2
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#228052
secondary
#B24B7E
accent
#4792E1
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #228052

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

Preview Lab → · Contrast checker → · Palette generator →

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