#08421E#08421E

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

Color values

HEX#08421E
RGBrgb(8, 66, 30)
HSLhsl(143, 78%, 15%)
HSVhsv(143, 88%, 26%)
CMYKcmyk(87.9%, 0%, 54.5%, 74.1%)
CIE-LABlab(23.81, -27.33, 16.87)
CIE-LCHlch(23.81, 32.12, 148.32°)
OKLaboklab(33.4% -0.0734 0.0412)
OKLCHoklch(33.4% 0.084 150.7)
XYZxyz(2.2825, 4.0415, 1.8878)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08421E #42082C
analogous
#0F4208 #08421E #08423B
triadic
#08421E #1E0842 #421E08
tetradic
#08421E #080F42 #42082C #423B08
square
#08421E #080F42 #42082C #423B08
split-complementary
#08421E #3B0842 #42080F
monochromatic
#031B0C #031B0C #08421E #0F7937 #15AF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##08421E#FFFFFF#000000##FFFFFF
##08421E1.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)
#423B1B
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #08421e;
/* rgb */ color: rgb(8, 66, 30);
/* oklch */ color: oklch(33.4% 0.084 150.7);
Tailwind
colors: {
  custom: {
    50: '#53775a',
    500: '#08421e',
    950: '#000000',
  },
}
SCSS
$custom: #08421e;
$custom-light: #53775a;
$custom-dark: #000000;
JSON
{
  "hex": "#08421e",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 142.759,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33398,
    "c": 0.08417,
    "h": 150.7
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#08421E
secondary
#80255E
accent
#33ABF5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #08421E

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

Preview Lab → · Contrast checker → · Palette generator →

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