#08421F#08421F

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

Color values

HEX#08421F
RGBrgb(8, 66, 31)
HSLhsl(144, 78%, 15%)
HSVhsv(144, 88%, 26%)
CMYKcmyk(87.9%, 0%, 53%, 74.1%)
CIE-LABlab(23.83, -27.13, 16.28)
CIE-LCHlch(23.83, 31.64, 149.03°)
OKLaboklab(33.42% -0.0729 0.0398)
OKLCHoklch(33.42% 0.083 151.3)
XYZxyz(2.2955, 4.0467, 1.9562)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08421F #42082B
analogous
#0E4208 #08421F #08423C
triadic
#08421F #1F0842 #421F08
tetradic
#08421F #080E42 #42082B #423C08
square
#08421F #080E42 #42082B #423C08
split-complementary
#08421F #3C0842 #42080E
monochromatic
#031B0D #031B0D #08421F #0F7939 #15AF52

Accessibility & contrast

On white

11.61
#08421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08421F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08421F#FFFFFF#000000##FFFFFF
##08421F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1C
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #08421f;
/* rgb */ color: rgb(8, 66, 31);
/* oklch */ color: oklch(33.4% 0.083 151.3);
Tailwind
colors: {
  custom: {
    50: '#53775b',
    500: '#08421f',
    950: '#000000',
  },
}
SCSS
$custom: #08421f;
$custom-light: #53775b;
$custom-dark: #000000;
JSON
{
  "hex": "#08421f",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 143.793,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33418,
    "c": 0.08308,
    "h": 151.3
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#08421F
secondary
#80255C
accent
#33A8F5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #08421F

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

Preview Lab → · Contrast checker → · Palette generator →

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