#08421D#08421D

#08421D is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.085 H 150.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#08421D
RGBrgb(8, 66, 29)
HSLhsl(142, 78%, 15%)
HSVhsv(142, 88%, 26%)
CMYKcmyk(87.9%, 0%, 56.1%, 74.1%)
CIE-LABlab(23.79, -27.53, 17.45)
CIE-LCHlch(23.79, 32.60, 147.62°)
OKLaboklab(33.38% -0.0739 0.0424)
OKLCHoklch(33.38% 0.085 150.2)
XYZxyz(2.2699, 4.0365, 1.8216)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08421D #42082D
analogous
#104208 #08421D #08423A
triadic
#08421D #1D0842 #421D08
tetradic
#08421D #081042 #42082D #423A08
square
#08421D #081042 #42082D #423A08
split-complementary
#08421D #3A0842 #420810
monochromatic
#031B0C #031B0C #08421D #0F7935 #15AF4D

Accessibility & contrast

On white

11.62
#08421D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#08421D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08421D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08421D#FFFFFF#000000##FFFFFF
##08421D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1A
Deuteranopia (green-blind)
#3C3720
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #08421d;
/* rgb */ color: rgb(8, 66, 29);
/* oklch */ color: oklch(33.4% 0.085 150.2);
Tailwind
colors: {
  custom: {
    50: '#537759',
    500: '#08421d',
    950: '#000000',
  },
}
SCSS
$custom: #08421d;
$custom-light: #537759;
$custom-dark: #000000;
JSON
{
  "hex": "#08421d",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 141.724,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33379,
    "c": 0.08523,
    "h": 150.2
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#08421D
secondary
#80255F
accent
#33AFF5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #08421D

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

Preview Lab → · Contrast checker → · Palette generator →

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