#227A50#227A50

#227A50 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.106 H 158.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#227A50
RGBrgb(34, 122, 80)
HSLhsl(151, 56%, 31%)
HSVhsv(151, 72%, 48%)
CMYKcmyk(72.1%, 0%, 34.4%, 52.2%)
CIE-LABlab(45.41, -36.25, 15.72)
CIE-LCHlch(45.41, 39.51, 156.55°)
OKLaboklab(51.69% -0.0984 0.0397)
OKLCHoklch(51.69% 0.106 158)
XYZxyz(9.0663, 14.8373, 9.9739)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A50 #7A224C
analogous
#227A24 #227A50 #22787A
triadic
#227A50 #50227A #7A5022
tetradic
#227A50 #24227A #7A224C #787A22
square
#227A50 #24227A #7A224C #787A22
split-complementary
#227A50 #7A2278 #7A2422
monochromatic
#071A11 #154A31 #227A50 #2FAA6F #4ACD8E

Accessibility & contrast

On white

5.29
#227A50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#227A50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A50
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A50#FFFFFF#000000##FFFFFF
##227A501.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704D
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a50;
/* rgb */ color: rgb(34, 122, 80);
/* oklch */ color: oklch(51.7% 0.106 158.0);
Tailwind
colors: {
  custom: {
    50: '#6aa181',
    500: '#227a50',
    950: '#000000',
  },
}
SCSS
$custom: #227a50;
$custom-light: #6aa181;
$custom-dark: #000000;
JSON
{
  "hex": "#227a50",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 80
  },
  "hsl": {
    "h": 151.364,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.10613,
    "h": 158
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#227A50
secondary
#AD4B7A
accent
#4890E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227A50

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

Preview Lab → · Contrast checker → · Palette generator →

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