#08402C#08402C

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

Color values

HEX#08402C
RGBrgb(8, 64, 44)
HSLhsl(159, 78%, 14%)
HSVhsv(159, 88%, 25%)
CMYKcmyk(87.5%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.34, -23.12, 7.36)
CIE-LCHlch(23.34, 24.26, 162.35°)
OKLaboklab(33.11% -0.0633 0.0187)
OKLCHoklch(33.11% 0.066 163.5)
XYZxyz(2.3879, 3.9000, 3.0093)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08402C #40081C
analogous
#084010 #08402C #083840
triadic
#08402C #2C0840 #402C08
tetradic
#08402C #100840 #40081C #384008
square
#08402C #100840 #40081C #384008
split-complementary
#08402C #400838 #401008
monochromatic
#031B13 #031B13 #08402C #0F7651 #16AD77

Accessibility & contrast

On white

11.80
#08402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08402C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08402C#FFFFFF#000000##FFFFFF
##08402C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08402c;
/* rgb */ color: rgb(8, 64, 44);
/* oklch */ color: oklch(33.1% 0.066 163.5);
Tailwind
colors: {
  custom: {
    50: '#537565',
    500: '#08402c',
    950: '#000000',
  },
}
SCSS
$custom: #08402c;
$custom-light: #537565;
$custom-dark: #000000;
JSON
{
  "hex": "#08402c",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 158.571,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33106,
    "c": 0.06603,
    "h": 163.5
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#08402C
secondary
#7E2545
accent
#3478F4
background
#F4F7F6
surface
#E8EDEB
border
#C4C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #08402C

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

Preview Lab → · Contrast checker → · Palette generator →

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