#08400F#08400F

#08400F is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.5% C 0.096 H 144.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#08400F
RGBrgb(8, 64, 15)
HSLhsl(128, 78%, 14%)
HSVhsv(128, 88%, 25%)
CMYKcmyk(87.5%, 0%, 76.6%, 74.9%)
CIE-LABlab(22.84, -28.91, 24.12)
CIE-LCHlch(22.84, 37.65, 140.16°)
OKLaboklab(32.53% -0.0781 0.0556)
OKLCHoklch(32.53% 0.096 144.5)
XYZxyz(2.0196, 3.7527, 1.0697)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08400F #400839
analogous
#1D4008 #08400F #08402B
triadic
#08400F #0F0840 #400F08
tetradic
#08400F #081D40 #400839 #402B08
square
#08400F #081D40 #400839 #402B08
split-complementary
#08400F #2B0840 #40081D
monochromatic
#031B06 #031B06 #08400F #0F761C #16AD29

Accessibility & contrast

On white

12.00
#08400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#08400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08400F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08400F#FFFFFF#000000##FFFFFF
##08400F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413908
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #08400f;
/* rgb */ color: rgb(8, 64, 15);
/* oklch */ color: oklch(32.5% 0.096 144.5);
Tailwind
colors: {
  custom: {
    50: '#537550',
    500: '#08400f',
    950: '#000000',
  },
}
SCSS
$custom: #08400f;
$custom-light: #537550;
$custom-dark: #000000;
JSON
{
  "hex": "#08400f",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 127.5,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32528,
    "c": 0.09587,
    "h": 144.5
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#08400F
secondary
#7E2573
accent
#34DCF4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #08400F

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

Preview Lab → · Contrast checker → · Palette generator →

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