#08400D#08400D

#08400D is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.097 H 144.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#08400D
RGBrgb(8, 64, 13)
HSLhsl(125, 78%, 14%)
HSVhsv(125, 88%, 25%)
CMYKcmyk(87.5%, 0%, 79.7%, 74.9%)
CIE-LABlab(22.82, -29.14, 25.07)
CIE-LCHlch(22.82, 38.44, 139.30°)
OKLaboklab(32.51% -0.0788 0.0573)
OKLCHoklch(32.51% 0.097 144)
XYZxyz(2.0060, 3.7472, 0.9983)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08400D #40083B
analogous
#1F4008 #08400D #084029
triadic
#08400D #0D0840 #400D08
tetradic
#08400D #081F40 #40083B #402908
square
#08400D #081F40 #40083B #402908
split-complementary
#08400D #290840 #40081F
monochromatic
#031B06 #031B06 #08400D #0F7618 #16AD23

Accessibility & contrast

On white

12.00
#08400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#08400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08400D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08400D#FFFFFF#000000##FFFFFF
##08400D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413906
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #08400d;
/* rgb */ color: rgb(8, 64, 13);
/* oklch */ color: oklch(32.5% 0.097 144.0);
Tailwind
colors: {
  custom: {
    50: '#53754f',
    500: '#08400d',
    950: '#000000',
  },
}
SCSS
$custom: #08400d;
$custom-light: #53754f;
$custom-dark: #000000;
JSON
{
  "hex": "#08400d",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 125.357,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32506,
    "c": 0.09745,
    "h": 144
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#08400D
secondary
#7E2577
accent
#34E3F4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #08400D

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

Preview Lab → · Contrast checker → · Palette generator →

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