#227B52#227B52

#227B52 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.106 H 158.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#227B52
RGBrgb(34, 123, 82)
HSLhsl(152, 57%, 31%)
HSVhsv(152, 72%, 48%)
CMYKcmyk(72.4%, 0%, 33.3%, 51.8%)
CIE-LABlab(45.79, -36.23, 15.08)
CIE-LCHlch(45.79, 39.24, 157.40°)
OKLaboklab(52.01% -0.0985 0.0382)
OKLCHoklch(52.01% 0.106 158.8)
XYZxyz(9.2647, 15.1142, 10.4101)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B52 #7B224B
analogous
#227B26 #227B52 #22777B
triadic
#227B52 #52227B #7B5222
tetradic
#227B52 #26227B #7B224B #777B22
square
#227B52 #26227B #7B224B #777B22
split-complementary
#227B52 #7B2277 #7B2622
monochromatic
#071B12 #154B32 #227B52 #2FAB72 #4ACD91

Accessibility & contrast

On white

5.22
#227B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#227B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B52
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B52#FFFFFF#000000##FFFFFF
##227B521.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714F
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b52;
/* rgb */ color: rgb(34, 123, 82);
/* oklch */ color: oklch(52.0% 0.106 158.8);
Tailwind
colors: {
  custom: {
    50: '#6aa282',
    500: '#227b52',
    950: '#000000',
  },
}
SCSS
$custom: #227b52;
$custom-light: #6aa282;
$custom-dark: #000000;
JSON
{
  "hex": "#227b52",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 82
  },
  "hsl": {
    "h": 152.36,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.10563,
    "h": 158.8
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#227B52
secondary
#AE4B79
accent
#488EE0
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227B52

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

Preview Lab → · Contrast checker → · Palette generator →

#227B52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva