#152F2C#152F2C

#152F2C is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.033 H 185.9°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#152F2C
RGBrgb(21, 47, 44)
HSLhsl(173, 38%, 13%)
HSVhsv(173, 55%, 18%)
CMYKcmyk(55.3%, 0%, 6.4%, 81.6%)
CIE-LABlab(17.34, -10.92, -1.17)
CIE-LCHlch(17.34, 10.98, 186.14°)
OKLaboklab(28.34% -0.0325 -0.0033)
OKLCHoklch(28.34% 0.033 185.9)
XYZxyz(1.7802, 2.3742, 2.7468)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F2C #2F1518
analogous
#152F1F #152F2C #15252F
triadic
#152F2C #2C152F #2F2C15
tetradic
#152F2C #1F152F #2F1518 #252F15
square
#152F2C #1F152F #2F1518 #252F15
split-complementary
#152F2C #2F1525 #2F1F15
monochromatic
#091514 #091514 #152F2C #285954 #3B847B

Accessibility & contrast

On white

14.24
#152F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#152F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F2C
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F2C#FFFFFF#000000##FFFFFF
##152F2C1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C2C
Deuteranopia (green-blind)
#28292C
Tritanopia (blue-blind)
#09302E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152f2c;
/* rgb */ color: rgb(21, 47, 44);
/* oklch */ color: oklch(28.3% 0.033 185.9);
Tailwind
colors: {
  custom: {
    50: '#556765',
    500: '#152f2c',
    950: '#000000',
  },
}
SCSS
$custom: #152f2c;
$custom-light: #556765;
$custom-dark: #000000;
JSON
{
  "hex": "#152f2c",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 173.077,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28337,
    "c": 0.03267,
    "h": 185.9
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#152F2C
secondary
#653B3F
accent
#5A67CE
background
#F5F6F6
surface
#E8EBEB
border
#C4C6C6
text
#030605
muted
#787A7A

Preview Lab

Preview with #152F2C

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

Preview Lab → · Contrast checker → · Palette generator →

#152F2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva