#152F2E#152F2E

#152F2E is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.4% C 0.032 H 192.2°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#152F2E
RGBrgb(21, 47, 46)
HSLhsl(178, 38%, 13%)
HSVhsv(178, 55%, 18%)
CMYKcmyk(55.3%, 0%, 2.1%, 81.6%)
CIE-LABlab(17.41, -10.28, -2.46)
CIE-LCHlch(17.41, 10.57, 193.45°)
OKLaboklab(28.42% -0.0314 -0.0068)
OKLCHoklch(28.42% 0.032 192.2)
XYZxyz(1.8187, 2.3896, 2.9496)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F2E #2F1516
analogous
#152F21 #152F2E #15232F
triadic
#152F2E #2E152F #2F2E15
tetradic
#152F2E #21152F #2F1516 #232F15
square
#152F2E #21152F #2F1516 #232F15
split-complementary
#152F2E #2F1523 #2F2115
monochromatic
#091515 #091515 #152F2E #285957 #3B8481

Accessibility & contrast

On white

14.21
#152F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#152F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F2E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F2E#FFFFFF#000000##FFFFFF
##152F2E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#28292E
Tritanopia (blue-blind)
#08302F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152f2e;
/* rgb */ color: rgb(21, 47, 46);
/* oklch */ color: oklch(28.4% 0.032 192.2);
Tailwind
colors: {
  custom: {
    50: '#556766',
    500: '#152f2e',
    950: '#000000',
  },
}
SCSS
$custom: #152f2e;
$custom-light: #556766;
$custom-dark: #000000;
JSON
{
  "hex": "#152f2e",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 177.692,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28419,
    "c": 0.03213,
    "h": 192.2
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#152F2E
secondary
#653B3C
accent
#5A5ECE
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030606
muted
#787A7A

Preview Lab

Preview with #152F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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