#08371F#08371F

#08371F is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.9% C 0.066 H 155.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#08371F
RGBrgb(8, 55, 31)
HSLhsl(149, 75%, 12%)
HSVhsv(149, 85%, 22%)
CMYKcmyk(85.5%, 0%, 43.6%, 78.4%)
CIE-LABlab(19.57, -22.20, 10.73)
CIE-LCHlch(19.57, 24.66, 154.20°)
OKLaboklab(29.9% -0.06 0.0269)
OKLCHoklch(29.9% 0.066 155.9)
XYZxyz(1.7135, 2.8827, 1.7622)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08371F #370820
analogous
#083708 #08371F #083737
triadic
#08371F #1F0837 #371F08
tetradic
#08371F #080837 #370820 #373708
square
#08371F #080837 #370820 #373708
split-complementary
#08371F #370837 #370808
monochromatic
#041B0F #041B0F #08371F #106C3D #18A25B

Accessibility & contrast

On white

13.32
#08371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#08371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08371F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08371F#FFFFFF#000000##FFFFFF
##08371F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#312E21
Tritanopia (blue-blind)
#003631
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #08371f;
/* rgb */ color: rgb(8, 55, 31);
/* oklch */ color: oklch(29.9% 0.066 155.9);
Tailwind
colors: {
  custom: {
    50: '#506e5a',
    500: '#08371f',
    950: '#000000',
  },
}
SCSS
$custom: #08371f;
$custom-light: #506e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08371f",
  "rgb": {
    "r": 8,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 149.362,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29901,
    "c": 0.06575,
    "h": 155.9
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#08371F
secondary
#76254E
accent
#3796F1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #08371F

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

Preview Lab → · Contrast checker → · Palette generator →

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