#154F3F#154F3F

#154F3F is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.6% C 0.065 H 170.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#154F3F
RGBrgb(21, 79, 63)
HSLhsl(163, 58%, 20%)
HSVhsv(163, 73%, 31%)
CMYKcmyk(73.4%, 0%, 20.3%, 69%)
CIE-LABlab(29.69, -22.98, 4.09)
CIE-LCHlch(29.69, 23.34, 169.92°)
OKLaboklab(38.57% -0.0645 0.0104)
OKLCHoklch(38.57% 0.065 170.8)
XYZxyz(4.0020, 6.1098, 5.6701)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F3F #4F1525
analogous
#154F22 #154F3F #15424F
triadic
#154F3F #3F154F #4F3F15
tetradic
#154F3F #22154F #4F1525 #424F15
square
#154F3F #22154F #4F1525 #424F15
split-complementary
#154F3F #4F1542 #4F2215
monochromatic
#061813 #081F18 #154F3F #227F66 #2FB08C

Accessibility & contrast

On white

9.45
#154F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#154F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F3F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F3F#FFFFFF#000000##FFFFFF
##154F3F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493E
Deuteranopia (green-blind)
#454440
Tritanopia (blue-blind)
#00504A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154f3f;
/* rgb */ color: rgb(21, 79, 63);
/* oklch */ color: oklch(38.6% 0.065 170.8);
Tailwind
colors: {
  custom: {
    50: '#5b8174',
    500: '#154f3f',
    950: '#000000',
  },
}
SCSS
$custom: #154f3f;
$custom-light: #5b8174;
$custom-dark: #000000;
JSON
{
  "hex": "#154f3f",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 63
  },
  "hsl": {
    "h": 163.448,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38567,
    "c": 0.06531,
    "h": 170.8
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#154F3F
secondary
#87394E
accent
#4771E1
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #154F3F

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

Preview Lab → · Contrast checker → · Palette generator →

#154F3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva