#08371B#08371B

#08371B is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.8% C 0.070 H 152.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#08371B
RGBrgb(8, 55, 27)
HSLhsl(144, 75%, 12%)
HSVhsv(144, 85%, 22%)
CMYKcmyk(85.5%, 0%, 50.9%, 78.4%)
CIE-LABlab(19.49, -23.13, 13.22)
CIE-LCHlch(19.49, 26.64, 150.24°)
OKLaboklab(29.81% -0.0623 0.0326)
OKLCHoklch(29.81% 0.07 152.3)
XYZxyz(1.6640, 2.8629, 1.5016)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08371B #370824
analogous
#0D3708 #08371B #083732
triadic
#08371B #1B0837 #371B08
tetradic
#08371B #080D37 #370824 #373208
square
#08371B #080D37 #370824 #373208
split-complementary
#08371B #320837 #37080D
monochromatic
#041B0D #041B0D #08371B #106C35 #18A24F

Accessibility & contrast

On white

13.35
#08371B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#08371B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08371B
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08371B#FFFFFF#000000##FFFFFF
##08371B1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373219
Deuteranopia (green-blind)
#312E1D
Tritanopia (blue-blind)
#003630
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #08371b;
/* rgb */ color: rgb(8, 55, 27);
/* oklch */ color: oklch(29.8% 0.070 152.3);
Tailwind
colors: {
  custom: {
    50: '#506e57',
    500: '#08371b',
    950: '#000000',
  },
}
SCSS
$custom: #08371b;
$custom-light: #506e57;
$custom-dark: #000000;
JSON
{
  "hex": "#08371b",
  "rgb": {
    "r": 8,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 144.255,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29807,
    "c": 0.07029,
    "h": 152.3
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#08371B
secondary
#762555
accent
#37A6F1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08371B

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

Preview Lab → · Contrast checker → · Palette generator →

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