#062D1F#062D1F

#062D1F is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.6% C 0.050 H 164.6°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#062D1F
RGBrgb(6, 45, 31)
HSLhsl(158, 76%, 10%)
HSVhsv(158, 87%, 18%)
CMYKcmyk(86.7%, 0%, 31.1%, 82.4%)
CIE-LABlab(15.56, -17.69, 5.24)
CIE-LCHlch(15.56, 18.45, 163.49°)
OKLaboklab(26.59% -0.0487 0.0134)
OKLCHoklch(26.59% 0.05 164.6)
XYZxyz(1.2607, 2.0143, 1.6184)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062D1F #2D0614
analogous
#062D0C #062D1F #06272D
triadic
#062D1F #1F062D #2D1F06
tetradic
#062D1F #0C062D #2D0614 #272D06
square
#062D1F #0C062D #2D0614 #272D06
split-complementary
#062D1F #2D0627 #2D0C06
monochromatic
#041B13 #041B13 #062D1F #0D6344 #149969

Accessibility & contrast

On white

14.97
#062D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#062D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062D1F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062D1F#FFFFFF#000000##FFFFFF
##062D1F1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291E
Deuteranopia (green-blind)
#272520
Tritanopia (blue-blind)
#002D29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #062d1f;
/* rgb */ color: rgb(6, 45, 31);
/* oklch */ color: oklch(26.6% 0.050 164.6);
Tailwind
colors: {
  custom: {
    50: '#4c665a',
    500: '#062d1f',
    950: '#000000',
  },
}
SCSS
$custom: #062d1f;
$custom-light: #4c665a;
$custom-dark: #000000;
JSON
{
  "hex": "#062d1f",
  "rgb": {
    "r": 6,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 158.462,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.26589,
    "c": 0.05047,
    "h": 164.6
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#062D1F
secondary
#6E213D
accent
#3579F3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #062D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#062D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva