#05341F#05341F

#05341F is a dark, moderate teal. Relative luminance 0.026; OKLCH L 28.8% C 0.062 H 158.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#05341F
RGBrgb(5, 52, 31)
HSLhsl(153, 82%, 11%)
HSVhsv(153, 90%, 20%)
CMYKcmyk(90.4%, 0%, 40.4%, 79.6%)
CIE-LABlab(18.31, -21.42, 9.02)
CIE-LCHlch(18.31, 23.24, 157.16°)
OKLaboklab(28.84% -0.058 0.0228)
OKLCHoklch(28.84% 0.062 158.6)
XYZxyz(1.5377, 2.5870, 1.7144)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05341F #34051A
analogous
#053407 #05341F #053134
triadic
#05341F #1F0534 #341F05
tetradic
#05341F #070534 #34051A #313405
square
#05341F #070534 #34051A #313405
split-complementary
#05341F #340531 #340705
monochromatic
#031C11 #031C11 #05341F #0A6C40 #10A462

Accessibility & contrast

On white

13.84
#05341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#05341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05341F
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05341F#FFFFFF#000000##FFFFFF
##05341F1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#2E2B20
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #05341f;
/* rgb */ color: rgb(5, 52, 31);
/* oklch */ color: oklch(28.8% 0.062 158.6);
Tailwind
colors: {
  custom: {
    50: '#4e6c5a',
    500: '#05341f',
    950: '#000000',
  },
}
SCSS
$custom: #05341f;
$custom-light: #4e6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05341f",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 153.191,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28838,
    "c": 0.06232,
    "h": 158.6
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#05341F
secondary
#751F46
accent
#2F89F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #05341F

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

Preview Lab → · Contrast checker → · Palette generator →

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