#08471B#08471B

#08471B is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.095 H 148.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#08471B
RGBrgb(8, 71, 27)
HSLhsl(138, 80%, 15%)
HSVhsv(138, 89%, 28%)
CMYKcmyk(88.7%, 0%, 62%, 72.2%)
CIE-LABlab(25.67, -29.93, 20.93)
CIE-LCHlch(25.67, 36.52, 145.03°)
OKLaboklab(34.93% -0.0804 0.05)
OKLCHoklch(34.93% 0.095 148.1)
XYZxyz(2.5510, 4.6369, 1.7973)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08471B #470834
analogous
#144708 #08471B #08473A
triadic
#08471B #1B0847 #471B08
tetradic
#08471B #081447 #470834 #473A08
square
#08471B #081447 #470834 #473A08
split-complementary
#08471B #3A0847 #470814
monochromatic
#031C0A #031C0A #08471B #0E7E30 #14B545

Accessibility & contrast

On white

10.90
#08471B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#08471B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08471B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08471B#FFFFFF#000000##FFFFFF
##08471B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #08471b;
/* rgb */ color: rgb(8, 71, 27);
/* oklch */ color: oklch(34.9% 0.095 148.1);
Tailwind
colors: {
  custom: {
    50: '#557b58',
    500: '#08471b',
    950: '#000000',
  },
}
SCSS
$custom: #08471b;
$custom-light: #557b58;
$custom-dark: #000000;
JSON
{
  "hex": "#08471b",
  "rgb": {
    "r": 8,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 138.095,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.09468,
    "h": 148.1
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#08471B
secondary
#852668
accent
#32BBF6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #08471B

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

Preview Lab → · Contrast checker → · Palette generator →

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