#05402C#05402C

#05402C is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.0% C 0.067 H 164.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#05402C
RGBrgb(5, 64, 44)
HSLhsl(160, 86%, 14%)
HSVhsv(160, 92%, 25%)
CMYKcmyk(92.2%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.27, -23.61, 7.25)
CIE-LCHlch(23.27, 24.70, 162.92°)
OKLaboklab(33.03% -0.0646 0.0185)
OKLCHoklch(33.03% 0.067 164)
XYZxyz(2.3503, 3.8806, 3.0075)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05402C #400519
analogous
#05400E #05402C #053640
triadic
#05402C #2C0540 #402C05
tetradic
#05402C #0E0540 #400519 #364005
square
#05402C #0E0540 #400519 #364005
split-complementary
#05402C #400536 #400E05
monochromatic
#021C14 #021C14 #05402C #097953 #0EB27A

Accessibility & contrast

On white

11.82
#05402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#05402C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05402C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05402C#FFFFFF#000000##FFFFFF
##05402C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A2B
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #05402c;
/* rgb */ color: rgb(5, 64, 44);
/* oklch */ color: oklch(33.0% 0.067 164.0);
Tailwind
colors: {
  custom: {
    50: '#527565',
    500: '#05402c',
    950: '#000000',
  },
}
SCSS
$custom: #05402c;
$custom-light: #527565;
$custom-dark: #000000;
JSON
{
  "hex": "#05402c",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 159.661,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33033,
    "c": 0.06723,
    "h": 164
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#05402C
secondary
#812041
accent
#2C72FC
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #05402C

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

Preview Lab → · Contrast checker → · Palette generator →

#05402C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva