#08401C#08401C

#08401C is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.083 H 150.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#08401C
RGBrgb(8, 64, 28)
HSLhsl(141, 78%, 14%)
HSVhsv(141, 88%, 25%)
CMYKcmyk(87.5%, 0%, 56.2%, 74.9%)
CIE-LABlab(23.01, -26.88, 17.08)
CIE-LCHlch(23.01, 31.84, 147.57°)
OKLaboklab(32.72% -0.0722 0.0415)
OKLCHoklch(32.72% 0.083 150.1)
XYZxyz(2.1430, 3.8020, 1.7193)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08401C #40082C
analogous
#104008 #08401C #084038
triadic
#08401C #1C0840 #401C08
tetradic
#08401C #081040 #40082C #403808
square
#08401C #081040 #40082C #403808
split-complementary
#08401C #380840 #400810
monochromatic
#031B0C #031B0C #08401C #0F7634 #16AD4C

Accessibility & contrast

On white

11.93
#08401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08401C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08401C#FFFFFF#000000##FFFFFF
##08401C1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08401c;
/* rgb */ color: rgb(8, 64, 28);
/* oklch */ color: oklch(32.7% 0.083 150.1);
Tailwind
colors: {
  custom: {
    50: '#537559',
    500: '#08401c',
    950: '#000000',
  },
}
SCSS
$custom: #08401c;
$custom-light: #537559;
$custom-dark: #000000;
JSON
{
  "hex": "#08401c",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 141.429,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.08328,
    "h": 150.1
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#08401C
secondary
#7E255F
accent
#34AFF4
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #08401C

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

Preview Lab → · Contrast checker → · Palette generator →

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