#08420E#08420E

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

Color values

HEX#08420E
RGBrgb(8, 66, 14)
HSLhsl(126, 78%, 15%)
HSVhsv(126, 88%, 26%)
CMYKcmyk(87.9%, 0%, 78.8%, 74.1%)
CIE-LABlab(23.60, -29.79, 25.42)
CIE-LCHlch(23.60, 39.17, 139.52°)
OKLaboklab(33.16% -0.0805 0.0582)
OKLCHoklch(33.16% 0.099 144.2)
XYZxyz(2.1275, 3.9795, 1.0714)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08420E #42083C
analogous
#1F4208 #08420E #08422B
triadic
#08420E #0E0842 #420E08
tetradic
#08420E #081F42 #42083C #422B08
square
#08420E #081F42 #42083C #422B08
split-complementary
#08420E #2B0842 #42081F
monochromatic
#031B06 #031B06 #08420E #0F791A #15AF25

Accessibility & contrast

On white

11.69
#08420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08420E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08420E#FFFFFF#000000##FFFFFF
##08420E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08420e;
/* rgb */ color: rgb(8, 66, 14);
/* oklch */ color: oklch(33.2% 0.099 144.2);
Tailwind
colors: {
  custom: {
    50: '#547750',
    500: '#08420e',
    950: '#000000',
  },
}
SCSS
$custom: #08420e;
$custom-light: #547750;
$custom-dark: #000000;
JSON
{
  "hex": "#08420e",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 126.207,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.09938,
    "h": 144.2
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#08420E
secondary
#802577
accent
#33E1F5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #08420E

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

Preview Lab → · Contrast checker → · Palette generator →

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