#08400B#08400B

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

Color values

HEX#08400B
RGBrgb(8, 64, 11)
HSLhsl(123, 78%, 14%)
HSVhsv(123, 88%, 25%)
CMYKcmyk(87.5%, 0%, 82.8%, 74.9%)
CIE-LABlab(22.80, -29.35, 25.95)
CIE-LCHlch(22.80, 39.18, 138.51°)
OKLaboklab(32.49% -0.0795 0.0589)
OKLCHoklch(32.49% 0.099 143.5)
XYZxyz(1.9938, 3.7423, 0.9338)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08400B #40083D
analogous
#214008 #08400B #084027
triadic
#08400B #0B0840 #400B08
tetradic
#08400B #082140 #40083D #402708
square
#08400B #082140 #40083D #402708
split-complementary
#08400B #270840 #400821
monochromatic
#031B05 #031B05 #08400B #0F7614 #16AD1E

Accessibility & contrast

On white

12.01
#08400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08400B
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08400B#FFFFFF#000000##FFFFFF
##08400B1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08400b;
/* rgb */ color: rgb(8, 64, 11);
/* oklch */ color: oklch(32.5% 0.099 143.5);
Tailwind
colors: {
  custom: {
    50: '#54754e',
    500: '#08400b',
    950: '#000000',
  },
}
SCSS
$custom: #08400b;
$custom-light: #54754e;
$custom-dark: #000000;
JSON
{
  "hex": "#08400b",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 123.214,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32487,
    "c": 0.09892,
    "h": 143.5
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#08400B
secondary
#7E257A
accent
#34EAF4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #08400B

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

Preview Lab → · Contrast checker → · Palette generator →

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