#08420D#08420D

#08420D is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.100 H 143.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#08420D
RGBrgb(8, 66, 13)
HSLhsl(125, 78%, 15%)
HSVhsv(125, 88%, 26%)
CMYKcmyk(87.9%, 0%, 80.3%, 74.1%)
CIE-LABlab(23.59, -29.90, 25.88)
CIE-LCHlch(23.59, 39.55, 139.12°)
OKLaboklab(33.15% -0.0809 0.059)
OKLCHoklch(33.15% 0.1 143.9)
XYZxyz(2.1209, 3.9769, 1.0365)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08420D #42083D
analogous
#204208 #08420D #08422A
triadic
#08420D #0D0842 #420D08
tetradic
#08420D #082042 #42083D #422A08
square
#08420D #082042 #42083D #422A08
split-complementary
#08420D #2A0842 #420820
monochromatic
#031B05 #031B05 #08420D #0F7918 #15AF23

Accessibility & contrast

On white

11.70
#08420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#08420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08420D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08420D#FFFFFF#000000##FFFFFF
##08420D1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B05
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #08420d;
/* rgb */ color: rgb(8, 66, 13);
/* oklch */ color: oklch(33.2% 0.100 143.9);
Tailwind
colors: {
  custom: {
    50: '#54774f',
    500: '#08420d',
    950: '#000000',
  },
}
SCSS
$custom: #08420d;
$custom-light: #54774f;
$custom-dark: #000000;
JSON
{
  "hex": "#08420d",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 125.172,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33152,
    "c": 0.10013,
    "h": 143.9
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#08420D
secondary
#802579
accent
#33E4F5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #08420D

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

Preview Lab → · Contrast checker → · Palette generator →

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