#05412F#05412F

#05412F is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.4% C 0.066 H 166.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#05412F
RGBrgb(5, 65, 47)
HSLhsl(162, 86%, 14%)
HSVhsv(162, 92%, 25%)
CMYKcmyk(92.3%, 0%, 27.7%, 74.5%)
CIE-LABlab(23.73, -23.24, 5.93)
CIE-LCHlch(23.73, 23.98, 165.69°)
OKLaboklab(33.44% -0.0641 0.0151)
OKLCHoklch(33.44% 0.066 166.7)
XYZxyz(2.4657, 4.0178, 3.3343)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05412F #410517
analogous
#054111 #05412F #053541
triadic
#05412F #2F0541 #412F05
tetradic
#05412F #110541 #410517 #354105
square
#05412F #110541 #410517 #354105
split-complementary
#05412F #410535 #411105
monochromatic
#021C15 #021C15 #05412F #097A58 #0EB381

Accessibility & contrast

On white

11.64
#05412F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#05412F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05412F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05412F#FFFFFF#000000##FFFFFF
##05412F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C2E
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#00413C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05412f;
/* rgb */ color: rgb(5, 65, 47);
/* oklch */ color: oklch(33.4% 0.066 166.7);
Tailwind
colors: {
  custom: {
    50: '#527667',
    500: '#05412f',
    950: '#000000',
  },
}
SCSS
$custom: #05412f;
$custom-light: #527667;
$custom-dark: #000000;
JSON
{
  "hex": "#05412f",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 47
  },
  "hsl": {
    "h": 162,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33436,
    "c": 0.06582,
    "h": 166.7
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#05412F
secondary
#81203D
accent
#2C6AFC
background
#F4F7F6
surface
#E8EDEB
border
#C4C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #05412F

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

Preview Lab → · Contrast checker → · Palette generator →

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