#228978#228978

#228978 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.9% C 0.094 H 179.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#228978
RGBrgb(34, 137, 120)
HSLhsl(170, 60%, 34%)
HSVhsv(170, 75%, 54%)
CMYKcmyk(75.2%, 0%, 12.4%, 46.3%)
CIE-LABlab(51.37, -32.80, 0.85)
CIE-LCHlch(51.37, 32.81, 178.52°)
OKLaboklab(56.89% -0.0944 0.0017)
OKLCHoklch(56.89% 0.094 179)
XYZxyz(12.9938, 19.5859, 20.8613)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228978 #892233
analogous
#228944 #228978 #226689
triadic
#228978 #782289 #897822
tetradic
#228978 #442289 #892233 #668922
square
#228978 #442289 #892233 #668922
split-complementary
#228978 #892266 #894422
monochromatic
#0A2722 #16584D #228978 #2EBAA3 #51D4BE

Accessibility & contrast

On white

4.27
#228978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#228978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228978
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228978#FFFFFF#000000##000000
##2289781.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838077
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228978;
/* rgb */ color: rgb(34, 137, 120);
/* oklch */ color: oklch(56.9% 0.094 179.0);
Tailwind
colors: {
  custom: {
    50: '#6eac9e',
    500: '#228978',
    950: '#000000',
  },
}
SCSS
$custom: #228978;
$custom-light: #6eac9e;
$custom-dark: #000000;
JSON
{
  "hex": "#228978",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 120
  },
  "hsl": {
    "h": 170.097,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56888,
    "c": 0.09445,
    "h": 179
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#228978
secondary
#B84F60
accent
#445FE3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228978

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

Preview Lab → · Contrast checker → · Palette generator →

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