#08402D#08402D

#08402D is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.1% C 0.065 H 164.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#08402D
RGBrgb(8, 64, 45)
HSLhsl(160, 78%, 14%)
HSVhsv(160, 88%, 25%)
CMYKcmyk(87.5%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.36, -22.84, 6.74)
CIE-LCHlch(23.36, 23.81, 163.57°)
OKLaboklab(33.14% -0.0627 0.0172)
OKLCHoklch(33.14% 0.065 164.7)
XYZxyz(2.4069, 3.9076, 3.1095)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08402D #40081B
analogous
#084011 #08402D #083740
triadic
#08402D #2D0840 #402D08
tetradic
#08402D #110840 #40081B #374008
square
#08402D #110840 #40081B #374008
split-complementary
#08402D #400837 #401108
monochromatic
#031B13 #031B13 #08402D #0F7653 #16AD7A

Accessibility & contrast

On white

11.79
#08402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#08402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08402D
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08402D#FFFFFF#000000##FFFFFF
##08402D1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#38362E
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #08402d;
/* rgb */ color: rgb(8, 64, 45);
/* oklch */ color: oklch(33.1% 0.065 164.7);
Tailwind
colors: {
  custom: {
    50: '#537565',
    500: '#08402d',
    950: '#000000',
  },
}
SCSS
$custom: #08402d;
$custom-light: #537565;
$custom-dark: #000000;
JSON
{
  "hex": "#08402d",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 159.643,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33135,
    "c": 0.06504,
    "h": 164.7
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#08402D
secondary
#7E2544
accent
#3475F4
background
#F5F7F6
surface
#E8EDEB
border
#C4C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #08402D

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

Preview Lab → · Contrast checker → · Palette generator →

#08402D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva