#08402A#08402A

#08402A is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.0% C 0.068 H 161.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#08402A
RGBrgb(8, 64, 42)
HSLhsl(156, 78%, 14%)
HSVhsv(156, 88%, 25%)
CMYKcmyk(87.5%, 0%, 34.4%, 74.9%)
CIE-LABlab(23.29, -23.66, 8.59)
CIE-LCHlch(23.29, 25.17, 160.04°)
OKLaboklab(33.05% -0.0645 0.0218)
OKLCHoklch(33.05% 0.068 161.3)
XYZxyz(2.3512, 3.8853, 2.8161)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08402A #40081E
analogous
#08400E #08402A #083A40
triadic
#08402A #2A0840 #402A08
tetradic
#08402A #0E0840 #40081E #3A4008
square
#08402A #0E0840 #40081E #3A4008
split-complementary
#08402A #40083A #400E08
monochromatic
#031B12 #031B12 #08402A #0F764E #16AD71

Accessibility & contrast

On white

11.82
#08402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08402A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08402A#FFFFFF#000000##FFFFFF
##08402A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A29
Deuteranopia (green-blind)
#38362B
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #08402a;
/* rgb */ color: rgb(8, 64, 42);
/* oklch */ color: oklch(33.0% 0.068 161.3);
Tailwind
colors: {
  custom: {
    50: '#527563',
    500: '#08402a',
    950: '#000000',
  },
}
SCSS
$custom: #08402a;
$custom-light: #527563;
$custom-dark: #000000;
JSON
{
  "hex": "#08402a",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 156.429,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.06805,
    "h": 161.3
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#08402A
secondary
#7E2548
accent
#347FF4
background
#F4F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #08402A

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

Preview Lab → · Contrast checker → · Palette generator →

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