#05402E#05402E

#05402E is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.1% C 0.065 H 166.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#05402E
RGBrgb(5, 64, 46)
HSLhsl(162, 86%, 14%)
HSVhsv(162, 92%, 25%)
CMYKcmyk(92.2%, 0%, 28.1%, 74.9%)
CIE-LABlab(23.32, -23.04, 6.01)
CIE-LCHlch(23.32, 23.82, 165.37°)
OKLaboklab(33.09% -0.0635 0.0154)
OKLCHoklch(33.09% 0.065 166.4)
XYZxyz(2.3888, 3.8960, 3.2103)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05402E #400517
analogous
#054010 #05402E #053440
triadic
#05402E #2E0540 #402E05
tetradic
#05402E #100540 #400517 #344005
square
#05402E #100540 #400517 #344005
split-complementary
#05402E #400534 #401005
monochromatic
#021C14 #021C14 #05402E #097957 #0EB280

Accessibility & contrast

On white

11.80
#05402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05402E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05402E#FFFFFF#000000##FFFFFF
##05402E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2D
Deuteranopia (green-blind)
#37352F
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05402e;
/* rgb */ color: rgb(5, 64, 46);
/* oklch */ color: oklch(33.1% 0.065 166.4);
Tailwind
colors: {
  custom: {
    50: '#527566',
    500: '#05402e',
    950: '#000000',
  },
}
SCSS
$custom: #05402e;
$custom-light: #527566;
$custom-dark: #000000;
JSON
{
  "hex": "#05402e",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 161.695,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.06531,
    "h": 166.4
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#05402E
secondary
#81203E
accent
#2C6BFC
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #05402E

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

Preview Lab → · Contrast checker → · Palette generator →

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