#08420F#08420F

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

Color values

HEX#08420F
RGBrgb(8, 66, 15)
HSLhsl(127, 78%, 15%)
HSVhsv(127, 88%, 26%)
CMYKcmyk(87.9%, 0%, 77.3%, 74.1%)
CIE-LABlab(23.61, -29.68, 24.96)
CIE-LCHlch(23.61, 38.78, 139.94°)
OKLaboklab(33.17% -0.0802 0.0574)
OKLCHoklch(33.17% 0.099 144.4)
XYZxyz(2.1344, 3.9823, 1.1080)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08420F #42083B
analogous
#1E4208 #08420F #08422C
triadic
#08420F #0F0842 #420F08
tetradic
#08420F #081E42 #42083B #422C08
square
#08420F #081E42 #42083B #422C08
split-complementary
#08420F #2C0842 #42081E
monochromatic
#031B06 #031B06 #08420F #0F791B #15AF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##08420F#FFFFFF#000000##FFFFFF
##08420F1.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)
#433B08
Deuteranopia (green-blind)
#3D3714
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #08420f;
/* rgb */ color: rgb(8, 66, 15);
/* oklch */ color: oklch(33.2% 0.099 144.4);
Tailwind
colors: {
  custom: {
    50: '#547750',
    500: '#08420f',
    950: '#000000',
  },
}
SCSS
$custom: #08420f;
$custom-light: #547750;
$custom-dark: #000000;
JSON
{
  "hex": "#08420f",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 127.241,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.09859,
    "h": 144.4
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#08420F
secondary
#802575
accent
#33DDF5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #08420F

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

Preview Lab → · Contrast checker → · Palette generator →

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