#08421B#08421B

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

Color values

HEX#08421B
RGBrgb(8, 66, 27)
HSLhsl(140, 78%, 15%)
HSVhsv(140, 88%, 26%)
CMYKcmyk(87.9%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.76, -27.90, 18.61)
CIE-LCHlch(23.76, 33.54, 146.30°)
OKLaboklab(33.34% -0.0749 0.0449)
OKLCHoklch(33.34% 0.087 149.1)
XYZxyz(2.2460, 4.0269, 1.6956)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08421B #42082F
analogous
#124208 #08421B #084238
triadic
#08421B #1B0842 #421B08
tetradic
#08421B #081242 #42082F #423808
square
#08421B #081242 #42082F #423808
split-complementary
#08421B #380842 #420812
monochromatic
#031B0B #031B0B #08421B #0F7931 #15AF48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##08421B#FFFFFF#000000##FFFFFF
##08421B1.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)
#433B18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #08421b;
/* rgb */ color: rgb(8, 66, 27);
/* oklch */ color: oklch(33.3% 0.087 149.1);
Tailwind
colors: {
  custom: {
    50: '#537758',
    500: '#08421b',
    950: '#000000',
  },
}
SCSS
$custom: #08421b;
$custom-light: #537758;
$custom-dark: #000000;
JSON
{
  "hex": "#08421b",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 139.655,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33343,
    "c": 0.08735,
    "h": 149.1
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#08421B
secondary
#802563
accent
#33B5F5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #08421B

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

Preview Lab → · Contrast checker → · Palette generator →

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