#08402F#08402F

#08402F is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.063 H 167.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#08402F
RGBrgb(8, 64, 47)
HSLhsl(162, 78%, 14%)
HSVhsv(162, 88%, 25%)
CMYKcmyk(87.5%, 0%, 26.6%, 74.9%)
CIE-LABlab(23.42, -22.27, 5.50)
CIE-LCHlch(23.42, 22.94, 166.14°)
OKLaboklab(33.2% -0.0616 0.014)
OKLCHoklch(33.2% 0.063 167.2)
XYZxyz(2.4463, 3.9234, 3.3171)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08402F #400819
analogous
#084013 #08402F #083540
triadic
#08402F #2F0840 #402F08
tetradic
#08402F #130840 #400819 #354008
square
#08402F #130840 #400819 #354008
split-complementary
#08402F #400835 #401308
monochromatic
#031B14 #031B14 #08402F #0F7657 #16AD7F

Accessibility & contrast

On white

11.77
#08402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08402F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08402F#FFFFFF#000000##FFFFFF
##08402F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#373630
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #08402f;
/* rgb */ color: rgb(8, 64, 47);
/* oklch */ color: oklch(33.2% 0.063 167.2);
Tailwind
colors: {
  custom: {
    50: '#537567',
    500: '#08402f',
    950: '#000000',
  },
}
SCSS
$custom: #08402f;
$custom-light: #537567;
$custom-dark: #000000;
JSON
{
  "hex": "#08402f",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 161.786,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33196,
    "c": 0.06316,
    "h": 167.2
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#08402F
secondary
#7E2540
accent
#346EF4
background
#F5F7F6
surface
#E8EDEB
border
#C4C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #08402F

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

Preview Lab → · Contrast checker → · Palette generator →

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