#05351F#05351F

#05351F is a dark, moderate teal. Relative luminance 0.027; OKLCH L 29.2% C 0.064 H 157.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#05351F
RGBrgb(5, 53, 31)
HSLhsl(153, 83%, 11%)
HSVhsv(153, 91%, 21%)
CMYKcmyk(90.6%, 0%, 41.5%, 79.2%)
CIE-LABlab(18.70, -21.89, 9.56)
CIE-LCHlch(18.70, 23.89, 156.42°)
OKLaboklab(29.16% -0.0592 0.024)
OKLCHoklch(29.16% 0.064 157.9)
XYZxyz(1.5829, 2.6772, 1.7294)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05351F #35051B
analogous
#053507 #05351F #053335
triadic
#05351F #1F0535 #351F05
tetradic
#05351F #070535 #35051B #333505
square
#05351F #070535 #35051B #333505
split-complementary
#05351F #350533 #350705
monochromatic
#031C10 #031C10 #05351F #0A6D40 #10A560

Accessibility & contrast

On white

13.68
#05351F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#05351F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05351F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05351F#FFFFFF#000000##FFFFFF
##05351F1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#2F2C20
Tritanopia (blue-blind)
#00352F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #05351f;
/* rgb */ color: rgb(5, 53, 31);
/* oklch */ color: oklch(29.2% 0.064 157.9);
Tailwind
colors: {
  custom: {
    50: '#4e6d5a',
    500: '#05351f',
    950: '#000000',
  },
}
SCSS
$custom: #05351f;
$custom-light: #4e6d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05351f",
  "rgb": {
    "r": 5,
    "g": 53,
    "b": 31
  },
  "hsl": {
    "h": 152.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29164,
    "c": 0.06393,
    "h": 157.9
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#05351F
secondary
#762047
accent
#2F8BF9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #05351F

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

Preview Lab → · Contrast checker → · Palette generator →

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