#227958#227958

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

Color values

HEX#227958
RGBrgb(34, 121, 88)
HSLhsl(157, 56%, 30%)
HSVhsv(157, 72%, 47%)
CMYKcmyk(71.9%, 0%, 27.3%, 52.5%)
CIE-LABlab(45.25, -33.94, 10.83)
CIE-LCHlch(45.25, 35.63, 162.30°)
OKLaboklab(51.61% -0.0932 0.0276)
OKLCHoklch(51.61% 0.097 163.5)
XYZxyz(9.2575, 14.7184, 11.5837)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227958 #792243
analogous
#22792C #227958 #226E79
triadic
#227958 #582279 #795822
tetradic
#227958 #2C2279 #792243 #6E7922
square
#227958 #2C2279 #792243 #6E7922
split-complementary
#227958 #79226E #792C22
monochromatic
#071913 #154935 #227958 #2FA97B #49CC9A

Accessibility & contrast

On white

5.32
#227958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227958
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227958#FFFFFF#000000##FFFFFF
##2279581.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227958;
/* rgb */ color: rgb(34, 121, 88);
/* oklch */ color: oklch(51.6% 0.097 163.5);
Tailwind
colors: {
  custom: {
    50: '#6aa087',
    500: '#227958',
    950: '#000000',
  },
}
SCSS
$custom: #227958;
$custom-light: #6aa087;
$custom-dark: #000000;
JSON
{
  "hex": "#227958",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 88
  },
  "hsl": {
    "h": 157.241,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.09724,
    "h": 163.5
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#227958
secondary
#AC4B70
accent
#4882DF
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #227958

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

Preview Lab → · Contrast checker → · Palette generator →

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