#08401F#08401F

#08401F is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.080 H 152.0°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#08401F
RGBrgb(8, 64, 31)
HSLhsl(145, 78%, 14%)
HSVhsv(145, 88%, 25%)
CMYKcmyk(87.5%, 0%, 51.6%, 74.9%)
CIE-LABlab(23.06, -26.27, 15.30)
CIE-LCHlch(23.06, 30.41, 149.78°)
OKLaboklab(32.78% -0.0706 0.0376)
OKLCHoklch(32.78% 0.08 152)
XYZxyz(2.1807, 3.8171, 1.9179)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08401F #400829
analogous
#0D4008 #08401F #08403B
triadic
#08401F #1F0840 #401F08
tetradic
#08401F #080D40 #400829 #403B08
square
#08401F #080D40 #400829 #403B08
split-complementary
#08401F #3B0840 #40080D
monochromatic
#031B0D #031B0D #08401F #0F7639 #16AD54

Accessibility & contrast

On white

11.91
#08401F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#08401F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08401F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08401F#FFFFFF#000000##FFFFFF
##08401F1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1C
Deuteranopia (green-blind)
#3A3521
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #08401f;
/* rgb */ color: rgb(8, 64, 31);
/* oklch */ color: oklch(32.8% 0.080 152.0);
Tailwind
colors: {
  custom: {
    50: '#52755b',
    500: '#08401f',
    950: '#000000',
  },
}
SCSS
$custom: #08401f;
$custom-light: #52755b;
$custom-dark: #000000;
JSON
{
  "hex": "#08401f",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 144.643,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32782,
    "c": 0.08001,
    "h": 152
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#08401F
secondary
#7E255A
accent
#34A5F4
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #08401F

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

Preview Lab → · Contrast checker → · Palette generator →

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