#08421C#08421C

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

Color values

HEX#08421C
RGBrgb(8, 66, 28)
HSLhsl(141, 78%, 15%)
HSVhsv(141, 88%, 26%)
CMYKcmyk(87.9%, 0%, 57.6%, 74.1%)
CIE-LABlab(23.78, -27.72, 18.03)
CIE-LCHlch(23.78, 33.07, 146.95°)
OKLaboklab(33.36% -0.0744 0.0437)
OKLCHoklch(33.36% 0.086 149.6)
XYZxyz(2.2578, 4.0316, 1.7576)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08421C #42082E
analogous
#114208 #08421C #084239
triadic
#08421C #1C0842 #421C08
tetradic
#08421C #081142 #42082E #423908
square
#08421C #081142 #42082E #423908
split-complementary
#08421C #390842 #420811
monochromatic
#031B0C #031B0C #08421C #0F7933 #15AF4A

Accessibility & contrast

On white

11.63
#08421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08421C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08421C#FFFFFF#000000##FFFFFF
##08421C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B19
Deuteranopia (green-blind)
#3C371F
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #08421c;
/* rgb */ color: rgb(8, 66, 28);
/* oklch */ color: oklch(33.4% 0.086 149.6);
Tailwind
colors: {
  custom: {
    50: '#537759',
    500: '#08421c',
    950: '#000000',
  },
}
SCSS
$custom: #08421c;
$custom-light: #537759;
$custom-dark: #000000;
JSON
{
  "hex": "#08421c",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 140.69,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3336,
    "c": 0.0863,
    "h": 149.6
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#08421C
secondary
#802561
accent
#33B2F5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #08421C

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

Preview Lab → · Contrast checker → · Palette generator →

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