#154D3E#154D3E

#154D3E is a dark, moderate teal. Relative luminance 0.058; OKLCH L 37.9% C 0.063 H 171.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#154D3E
RGBrgb(21, 77, 62)
HSLhsl(164, 57%, 19%)
HSVhsv(164, 73%, 30%)
CMYKcmyk(72.7%, 0%, 19.5%, 69.8%)
CIE-LABlab(28.94, -22.26, 3.65)
CIE-LCHlch(28.94, 22.55, 170.68°)
OKLaboklab(37.95% -0.0626 0.0093)
OKLCHoklch(37.95% 0.063 171.5)
XYZxyz(3.8322, 5.8146, 5.4769)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D3E #4D1524
analogous
#154D22 #154D3E #15404D
triadic
#154D3E #3E154D #4D3E15
tetradic
#154D3E #22154D #4D1524 #404D15
square
#154D3E #22154D #4D1524 #404D15
split-complementary
#154D3E #4D1540 #4D2215
monochromatic
#071813 #081D17 #154D3E #227D65 #2FAD8B

Accessibility & contrast

On white

9.71
#154D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#154D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D3E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D3E#FFFFFF#000000##FFFFFF
##154D3E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A483D
Deuteranopia (green-blind)
#43423F
Tritanopia (blue-blind)
#004E49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154d3e;
/* rgb */ color: rgb(21, 77, 62);
/* oklch */ color: oklch(37.9% 0.063 171.5);
Tailwind
colors: {
  custom: {
    50: '#5b7f73',
    500: '#154d3e',
    950: '#000000',
  },
}
SCSS
$custom: #154d3e;
$custom-light: #5b7f73;
$custom-dark: #000000;
JSON
{
  "hex": "#154d3e",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 62
  },
  "hsl": {
    "h": 163.929,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.06328,
    "h": 171.5
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#154D3E
secondary
#85394D
accent
#4770E0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #154D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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