#05402D#05402D

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

Color values

HEX#05402D
RGBrgb(5, 64, 45)
HSLhsl(161, 86%, 14%)
HSVhsv(161, 92%, 25%)
CMYKcmyk(92.2%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.30, -23.33, 6.63)
CIE-LCHlch(23.30, 24.25, 164.12°)
OKLaboklab(33.06% -0.0641 0.0169)
OKLCHoklch(33.06% 0.066 165.2)
XYZxyz(2.3694, 3.8882, 3.1077)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05402D #400518
analogous
#05400F #05402D #053540
triadic
#05402D #2D0540 #402D05
tetradic
#05402D #0F0540 #400518 #354005
square
#05402D #0F0540 #400518 #354005
split-complementary
#05402D #400535 #400F05
monochromatic
#021C14 #021C14 #05402D #097955 #0EB27D

Accessibility & contrast

On white

11.81
#05402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05402D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05402D#FFFFFF#000000##FFFFFF
##05402D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05402d;
/* rgb */ color: rgb(5, 64, 45);
/* oklch */ color: oklch(33.1% 0.066 165.2);
Tailwind
colors: {
  custom: {
    50: '#527565',
    500: '#05402d',
    950: '#000000',
  },
}
SCSS
$custom: #05402d;
$custom-light: #527565;
$custom-dark: #000000;
JSON
{
  "hex": "#05402d",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 160.678,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.06626,
    "h": 165.2
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#05402D
secondary
#81203F
accent
#2C6FFC
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #05402D

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

Preview Lab → · Contrast checker → · Palette generator →

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