#05341E#05341E

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

Color values

HEX#05341E
RGBrgb(5, 52, 30)
HSLhsl(152, 82%, 11%)
HSVhsv(152, 90%, 20%)
CMYKcmyk(90.4%, 0%, 42.3%, 79.6%)
CIE-LABlab(18.28, -21.67, 9.66)
CIE-LCHlch(18.28, 23.73, 155.98°)
OKLaboklab(28.81% -0.0586 0.0243)
OKLCHoklch(28.81% 0.063 157.5)
XYZxyz(1.5248, 2.5818, 1.6460)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05341E #34051B
analogous
#053406 #05341E #053234
triadic
#05341E #1E0534 #341E05
tetradic
#05341E #060534 #34051B #323405
square
#05341E #060534 #34051B #323405
split-complementary
#05341E #340532 #340605
monochromatic
#031C10 #031C10 #05341E #0A6C3E #10A45E

Accessibility & contrast

On white

13.85
#05341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05341E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05341E#FFFFFF#000000##FFFFFF
##05341E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#2E2B1F
Tritanopia (blue-blind)
#00342E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #05341e;
/* rgb */ color: rgb(5, 52, 30);
/* oklch */ color: oklch(28.8% 0.063 157.5);
Tailwind
colors: {
  custom: {
    50: '#4e6c59',
    500: '#05341e',
    950: '#000000',
  },
}
SCSS
$custom: #05341e;
$custom-light: #4e6c59;
$custom-dark: #000000;
JSON
{
  "hex": "#05341e",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 151.915,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28812,
    "c": 0.06344,
    "h": 157.5
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#05341E
secondary
#751F48
accent
#2F8DF9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05341E

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

Preview Lab → · Contrast checker → · Palette generator →

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