#08401D#08401D

#08401D is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.082 H 150.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#08401D
RGBrgb(8, 64, 29)
HSLhsl(143, 78%, 14%)
HSVhsv(143, 88%, 25%)
CMYKcmyk(87.5%, 0%, 54.7%, 74.9%)
CIE-LABlab(23.02, -26.68, 16.49)
CIE-LCHlch(23.02, 31.37, 148.29°)
OKLaboklab(32.74% -0.0717 0.0402)
OKLCHoklch(32.74% 0.082 150.7)
XYZxyz(2.1551, 3.8069, 1.7834)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08401D #40082B
analogous
#0F4008 #08401D #084039
triadic
#08401D #1D0840 #401D08
tetradic
#08401D #080F40 #40082B #403908
square
#08401D #080F40 #40082B #403908
split-complementary
#08401D #390840 #40080F
monochromatic
#031B0C #031B0C #08401D #0F7636 #16AD4E

Accessibility & contrast

On white

11.92
#08401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#08401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08401D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08401D#FFFFFF#000000##FFFFFF
##08401D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1A
Deuteranopia (green-blind)
#3A3520
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #08401d;
/* rgb */ color: rgb(8, 64, 29);
/* oklch */ color: oklch(32.7% 0.082 150.7);
Tailwind
colors: {
  custom: {
    50: '#537559',
    500: '#08401d',
    950: '#000000',
  },
}
SCSS
$custom: #08401d;
$custom-light: #537559;
$custom-dark: #000000;
JSON
{
  "hex": "#08401d",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 142.5,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32742,
    "c": 0.0822,
    "h": 150.7
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#08401D
secondary
#7E255D
accent
#34ACF4
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #08401D

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

Preview Lab → · Contrast checker → · Palette generator →

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