#08420B#08420B

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

Color values

HEX#08420B
RGBrgb(8, 66, 11)
HSLhsl(123, 78%, 15%)
HSVhsv(123, 88%, 26%)
CMYKcmyk(87.9%, 0%, 83.3%, 74.1%)
CIE-LABlab(23.58, -30.10, 26.75)
CIE-LCHlch(23.58, 40.27, 138.38°)
OKLaboklab(33.13% -0.0815 0.0605)
OKLCHoklch(33.13% 0.102 143.4)
XYZxyz(2.1086, 3.9720, 0.9721)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08420B #42083F
analogous
#224208 #08420B #084228
triadic
#08420B #0B0842 #420B08
tetradic
#08420B #082242 #42083F #422808
square
#08420B #082242 #42083F #422808
split-complementary
#08420B #280842 #420822
monochromatic
#031B05 #031B05 #08420B #0F7914 #15AF1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##08420B#FFFFFF#000000##FFFFFF
##08420B1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08420b;
/* rgb */ color: rgb(8, 66, 11);
/* oklch */ color: oklch(33.1% 0.102 143.4);
Tailwind
colors: {
  custom: {
    50: '#54774e',
    500: '#08420b',
    950: '#000000',
  },
}
SCSS
$custom: #08420b;
$custom-light: #54774e;
$custom-dark: #000000;
JSON
{
  "hex": "#08420b",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 123.103,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33133,
    "c": 0.10155,
    "h": 143.4
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#08420B
secondary
#80257C
accent
#33EBF5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #08420B

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

Preview Lab → · Contrast checker → · Palette generator →

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