#08420A#08420A

#08420A is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.1% C 0.102 H 143.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#08420A
RGBrgb(8, 66, 10)
HSLhsl(122, 78%, 15%)
HSVhsv(122, 88%, 26%)
CMYKcmyk(87.9%, 0%, 84.8%, 74.1%)
CIE-LABlab(23.57, -30.20, 27.16)
CIE-LCHlch(23.57, 40.61, 138.03°)
OKLaboklab(33.13% -0.0819 0.0612)
OKLCHoklch(33.13% 0.102 143.2)
XYZxyz(2.1030, 3.9697, 0.9425)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08420A #420840
analogous
#234208 #08420A #084227
triadic
#08420A #0A0842 #420A08
tetradic
#08420A #082342 #420840 #422708
square
#08420A #082342 #420840 #422708
split-complementary
#08420A #270842 #420823
monochromatic
#031B04 #031B04 #08420A #0F7912 #15AF1B

Accessibility & contrast

On white

11.71
#08420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#08420A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08420A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08420A#FFFFFF#000000##FFFFFF
##08420A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #08420a;
/* rgb */ color: rgb(8, 66, 10);
/* oklch */ color: oklch(33.1% 0.102 143.2);
Tailwind
colors: {
  custom: {
    50: '#54774d',
    500: '#08420a',
    950: '#000000',
  },
}
SCSS
$custom: #08420a;
$custom-light: #54774d;
$custom-dark: #000000;
JSON
{
  "hex": "#08420a",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 122.069,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33125,
    "c": 0.10221,
    "h": 143.2
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#08420A
secondary
#80257D
accent
#33EEF5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #08420A

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

Preview Lab → · Contrast checker → · Palette generator →

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