#062C1F#062C1F

#062C1F is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.3% C 0.049 H 165.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#062C1F
RGBrgb(6, 44, 31)
HSLhsl(159, 76%, 10%)
HSVhsv(159, 86%, 17%)
CMYKcmyk(86.4%, 0%, 29.5%, 82.7%)
CIE-LABlab(15.16, -17.16, 4.68)
CIE-LCHlch(15.16, 17.79, 164.73°)
OKLaboklab(26.26% -0.0474 0.012)
OKLCHoklch(26.26% 0.049 165.8)
XYZxyz(1.2230, 1.9389, 1.6058)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C1F #2C0613
analogous
#062C0C #062C1F #06262C
triadic
#062C1F #1F062C #2C1F06
tetradic
#062C1F #0C062C #2C0613 #262C06
square
#062C1F #0C062C #2C0613 #262C06
split-complementary
#062C1F #2C0626 #2C0C06
monochromatic
#041B13 #041B13 #062C1F #0D6245 #15986B

Accessibility & contrast

On white

15.13
#062C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#062C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062C1F
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C1F#FFFFFF#000000##FFFFFF
##062C1F1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281E
Deuteranopia (green-blind)
#262520
Tritanopia (blue-blind)
#002C28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062c1f;
/* rgb */ color: rgb(6, 44, 31);
/* oklch */ color: oklch(26.3% 0.049 165.8);
Tailwind
colors: {
  custom: {
    50: '#4c655a',
    500: '#062c1f',
    950: '#000000',
  },
}
SCSS
$custom: #062c1f;
$custom-light: #4c655a;
$custom-dark: #000000;
JSON
{
  "hex": "#062c1f",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 31
  },
  "hsl": {
    "h": 159.474,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26261,
    "c": 0.04885,
    "h": 165.8
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#062C1F
secondary
#6D213B
accent
#3576F3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #062C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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