#154231#154231

#154231 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.3% C 0.058 H 165.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#154231
RGBrgb(21, 66, 49)
HSLhsl(157, 52%, 17%)
HSVhsv(157, 68%, 26%)
CMYKcmyk(68.2%, 0%, 25.8%, 74.1%)
CIE-LABlab(24.57, -20.23, 5.86)
CIE-LCHlch(24.57, 21.06, 163.85°)
OKLaboklab(34.26% -0.056 0.015)
OKLCHoklch(34.26% 0.058 165)
XYZxyz(2.8116, 4.2773, 3.5826)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154231 #421526
analogous
#15421B #154231 #153D42
triadic
#154231 #311542 #423115
tetradic
#154231 #1B1542 #421526 #3D4215
square
#154231 #1B1542 #421526 #3D4215
split-complementary
#154231 #42153D #421B15
monochromatic
#071711 #071711 #154231 #247053 #339F76

Accessibility & contrast

On white

11.32
#154231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#154231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154231
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154231#FFFFFF#000000##FFFFFF
##1542311.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D30
Deuteranopia (green-blind)
#3A3832
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #154231;
/* rgb */ color: rgb(21, 66, 49);
/* oklch */ color: oklch(34.3% 0.058 165.0);
Tailwind
colors: {
  custom: {
    50: '#587769',
    500: '#154231',
    950: '#000000',
  },
}
SCSS
$custom: #154231;
$custom-light: #587769;
$custom-dark: #000000;
JSON
{
  "hex": "#154231",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 157.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34257,
    "c": 0.05797,
    "h": 165
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#154231
secondary
#7A3951
accent
#4D82DB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #154231

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

Preview Lab → · Contrast checker → · Palette generator →

#154231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva