#08371E#08371E

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

Color values

HEX#08371E
RGBrgb(8, 55, 30)
HSLhsl(148, 75%, 12%)
HSVhsv(148, 85%, 22%)
CMYKcmyk(85.5%, 0%, 45.5%, 78.4%)
CIE-LABlab(19.55, -22.45, 11.36)
CIE-LCHlch(19.55, 25.16, 153.15°)
OKLaboklab(29.88% -0.0606 0.0284)
OKLCHoklch(29.88% 0.067 154.9)
XYZxyz(1.7005, 2.8775, 1.6938)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08371E #370821
analogous
#0A3708 #08371E #083736
triadic
#08371E #1E0837 #371E08
tetradic
#08371E #080A37 #370821 #373608
square
#08371E #080A37 #370821 #373608
split-complementary
#08371E #360837 #37080A
monochromatic
#041B0F #041B0F #08371E #106C3B #18A258

Accessibility & contrast

On white

13.33
#08371E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08371E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08371E#FFFFFF#000000##FFFFFF
##08371E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08371e;
/* rgb */ color: rgb(8, 55, 30);
/* oklch */ color: oklch(29.9% 0.067 154.9);
Tailwind
colors: {
  custom: {
    50: '#506e5a',
    500: '#08371e',
    950: '#000000',
  },
}
SCSS
$custom: #08371e;
$custom-light: #506e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08371e",
  "rgb": {
    "r": 8,
    "g": 55,
    "b": 30
  },
  "hsl": {
    "h": 148.085,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29877,
    "c": 0.06688,
    "h": 154.9
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#08371E
secondary
#762550
accent
#379AF1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08371E

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

Preview Lab → · Contrast checker → · Palette generator →

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