#05402F#05402F

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

Color values

HEX#05402F
RGBrgb(5, 64, 47)
HSLhsl(163, 86%, 14%)
HSVhsv(163, 92%, 25%)
CMYKcmyk(92.2%, 0%, 26.6%, 74.9%)
CIE-LABlab(23.35, -22.75, 5.39)
CIE-LCHlch(23.35, 23.38, 166.66°)
OKLaboklab(33.12% -0.0629 0.0138)
OKLCHoklch(33.12% 0.064 167.6)
XYZxyz(2.4088, 3.9040, 3.3154)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05402F #400516
analogous
#054011 #05402F #053340
triadic
#05402F #2F0540 #402F05
tetradic
#05402F #110540 #400516 #334005
square
#05402F #110540 #400516 #334005
split-complementary
#05402F #400533 #401105
monochromatic
#021C15 #021C15 #05402F #097959 #0EB282

Accessibility & contrast

On white

11.79
#05402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05402F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05402F#FFFFFF#000000##FFFFFF
##05402F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#373630
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05402f;
/* rgb */ color: rgb(5, 64, 47);
/* oklch */ color: oklch(33.1% 0.064 167.6);
Tailwind
colors: {
  custom: {
    50: '#527567',
    500: '#05402f',
    950: '#000000',
  },
}
SCSS
$custom: #05402f;
$custom-light: #527567;
$custom-dark: #000000;
JSON
{
  "hex": "#05402f",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 162.712,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33124,
    "c": 0.06439,
    "h": 167.6
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#05402F
secondary
#81203C
accent
#2C68FC
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #05402F

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

Preview Lab → · Contrast checker → · Palette generator →

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