#227957#227957

#227957 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.098 H 162.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#227957
RGBrgb(34, 121, 87)
HSLhsl(157, 56%, 30%)
HSVhsv(157, 72%, 47%)
CMYKcmyk(71.9%, 0%, 28.1%, 52.5%)
CIE-LABlab(45.22, -34.18, 11.38)
CIE-LCHlch(45.22, 36.03, 161.58°)
OKLaboklab(51.58% -0.0937 0.029)
OKLCHoklch(51.58% 0.098 162.8)
XYZxyz(9.2164, 14.7019, 11.3670)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227957 #792244
analogous
#22792C #227957 #226F79
triadic
#227957 #572279 #795722
tetradic
#227957 #2C2279 #792244 #6F7922
square
#227957 #2C2279 #792244 #6F7922
split-complementary
#227957 #79226F #792C22
monochromatic
#071912 #154935 #227957 #2FA979 #49CC99

Accessibility & contrast

On white

5.33
#227957 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#227957 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227957
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227957#FFFFFF#000000##FFFFFF
##2279571.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777055
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227957;
/* rgb */ color: rgb(34, 121, 87);
/* oklch */ color: oklch(51.6% 0.098 162.8);
Tailwind
colors: {
  custom: {
    50: '#6aa086',
    500: '#227957',
    950: '#000000',
  },
}
SCSS
$custom: #227957;
$custom-light: #6aa086;
$custom-dark: #000000;
JSON
{
  "hex": "#227957",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 87
  },
  "hsl": {
    "h": 156.552,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.09813,
    "h": 162.8
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#227957
secondary
#AC4B71
accent
#4883DF
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #227957

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

Preview Lab → · Contrast checker → · Palette generator →

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