#08471C#08471C

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

Color values

HEX#08471C
RGBrgb(8, 71, 28)
HSLhsl(139, 80%, 15%)
HSVhsv(139, 89%, 28%)
CMYKcmyk(88.7%, 0%, 60.6%, 72.2%)
CIE-LABlab(25.69, -29.76, 20.38)
CIE-LCHlch(25.69, 36.07, 145.60°)
OKLaboklab(34.95% -0.0799 0.0489)
OKLCHoklch(34.95% 0.094 148.6)
XYZxyz(2.5628, 4.6416, 1.8592)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08471C #470833
analogous
#134708 #08471C #08473B
triadic
#08471C #1C0847 #471C08
tetradic
#08471C #081347 #470833 #473B08
square
#08471C #081347 #470833 #473B08
split-complementary
#08471C #3B0847 #470813
monochromatic
#031C0B #031C0B #08471C #0E7E32 #14B547

Accessibility & contrast

On white

10.89
#08471C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08471C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08471C#FFFFFF#000000##FFFFFF
##08471C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08471c;
/* rgb */ color: rgb(8, 71, 28);
/* oklch */ color: oklch(34.9% 0.094 148.6);
Tailwind
colors: {
  custom: {
    50: '#557b59',
    500: '#08471c',
    950: '#000000',
  },
}
SCSS
$custom: #08471c;
$custom-light: #557b59;
$custom-dark: #000000;
JSON
{
  "hex": "#08471c",
  "rgb": {
    "r": 8,
    "g": 71,
    "b": 28
  },
  "hsl": {
    "h": 139.048,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34946,
    "c": 0.09368,
    "h": 148.6
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#08471C
secondary
#852667
accent
#32B8F6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #08471C

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

Preview Lab → · Contrast checker → · Palette generator →

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