#157954#157954

#157954 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.2% C 0.105 H 162.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#157954
RGBrgb(21, 121, 84)
HSLhsl(158, 70%, 28%)
HSVhsv(158, 83%, 47%)
CMYKcmyk(82.6%, 0%, 30.6%, 52.5%)
CIE-LABlab(44.90, -36.79, 12.66)
CIE-LCHlch(44.90, 38.90, 161.01°)
OKLaboklab(51.23% -0.1004 0.0322)
OKLCHoklch(51.23% 0.105 162.2)
XYZxyz(8.7459, 14.4732, 10.7184)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157954 #79153A
analogous
#157922 #157954 #156C79
triadic
#157954 #541579 #795415
tetradic
#157954 #221579 #79153A #6C7915
square
#157954 #221579 #79153A #6C7915
split-complementary
#157954 #79156C #792215
monochromatic
#051A12 #0C4530 #157954 #1EAD78 #2EDB9B

Accessibility & contrast

On white

5.39
#157954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#157954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157954
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157954#FFFFFF#000000##FFFFFF
##1579541.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F52
Deuteranopia (green-blind)
#6B6756
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157954;
/* rgb */ color: rgb(21, 121, 84);
/* oklch */ color: oklch(51.2% 0.105 162.2);
Tailwind
colors: {
  custom: {
    50: '#65a084',
    500: '#157954',
    950: '#000000',
  },
}
SCSS
$custom: #157954;
$custom-light: #65a084;
$custom-dark: #000000;
JSON
{
  "hex": "#157954",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 157.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.10539,
    "h": 162.2
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#157954
secondary
#AF3B66
accent
#3B7DED
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #157954

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

Preview Lab → · Contrast checker → · Palette generator →

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