#154B31#154B31

#154B31 is a dark, moderate teal. Relative luminance 0.054; OKLCH L 37.0% C 0.072 H 158.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#154B31
RGBrgb(21, 75, 49)
HSLhsl(151, 56%, 19%)
HSVhsv(151, 72%, 29%)
CMYKcmyk(72%, 0%, 34.7%, 70.6%)
CIE-LABlab(27.88, -24.73, 10.46)
CIE-LCHlch(27.88, 26.85, 157.07°)
OKLaboklab(36.97% -0.0673 0.0265)
OKLCHoklch(36.97% 0.072 158.5)
XYZxyz(3.3794, 5.4130, 3.7718)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B31 #4B152F
analogous
#154B16 #154B31 #154A4B
triadic
#154B31 #31154B #4B3115
tetradic
#154B31 #16154B #4B152F #4A4B15
square
#154B31 #16154B #4B152F #4A4B15
split-complementary
#154B31 #4B154A #4B1615
monochromatic
#071810 #081B12 #154B31 #227B50 #30AB6F

Accessibility & contrast

On white

10.08
#154B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#154B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B31
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B31#FFFFFF#000000##FFFFFF
##154B311.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A452F
Deuteranopia (green-blind)
#434033
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154b31;
/* rgb */ color: rgb(21, 75, 49);
/* oklch */ color: oklch(37.0% 0.072 158.5);
Tailwind
colors: {
  custom: {
    50: '#5a7e69',
    500: '#154b31',
    950: '#000000',
  },
}
SCSS
$custom: #154b31;
$custom-light: #5a7e69;
$custom-dark: #000000;
JSON
{
  "hex": "#154b31",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 49
  },
  "hsl": {
    "h": 151.111,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.07235,
    "h": 158.5
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#154B31
secondary
#83395D
accent
#4891E0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #154B31

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

Preview Lab → · Contrast checker → · Palette generator →

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