#05231E#05231E

#05231E is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.2% C 0.037 H 179.9°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#05231E
RGBrgb(5, 35, 30)
HSLhsl(170, 75%, 8%)
HSVhsv(170, 86%, 14%)
CMYKcmyk(85.7%, 0%, 14.3%, 86.3%)
CIE-LABlab(11.47, -12.71, 0.10)
CIE-LCHlch(11.47, 12.71, 179.56°)
OKLaboklab(23.22% -0.0368 0.0001)
OKLCHoklch(23.22% 0.037 179.9)
XYZxyz(0.8979, 1.3280, 1.4370)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05231E #23050A
analogous
#05230F #05231E #051923
triadic
#05231E #1E0523 #231E05
tetradic
#05231E #0F0523 #23050A #192305
square
#05231E #0F0523 #23050A #192305
split-complementary
#05231E #230519 #230F05
monochromatic
#041B17 #041B17 #05231E #0D594C #148E7A

Accessibility & contrast

On white

16.59
#05231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#05231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05231E
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05231E#FFFFFF#000000##FFFFFF
##05231E1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#1D1D1E
Tritanopia (blue-blind)
#002421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05231e;
/* rgb */ color: rgb(5, 35, 30);
/* oklch */ color: oklch(23.2% 0.037 179.9);
Tailwind
colors: {
  custom: {
    50: '#495e59',
    500: '#05231e',
    950: '#000000',
  },
}
SCSS
$custom: #05231e;
$custom-light: #495e59;
$custom-dark: #000000;
JSON
{
  "hex": "#05231e",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 170,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.2322,
    "c": 0.03677,
    "h": 179.9
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#05231E
secondary
#641F2B
accent
#3655F2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05231E

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

Preview Lab → · Contrast checker → · Palette generator →

#05231E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva