#08371A#08371A

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

Color values

HEX#08371A
RGBrgb(8, 55, 26)
HSLhsl(143, 75%, 12%)
HSVhsv(143, 85%, 22%)
CMYKcmyk(85.5%, 0%, 52.7%, 78.4%)
CIE-LABlab(19.47, -23.34, 13.84)
CIE-LCHlch(19.47, 27.14, 149.35°)
OKLaboklab(29.79% -0.0628 0.034)
OKLCHoklch(29.79% 0.071 151.6)
XYZxyz(1.6526, 2.8584, 1.4417)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08371A #370825
analogous
#0D3708 #08371A #083732
triadic
#08371A #1A0837 #371A08
tetradic
#08371A #080D37 #370825 #373208
square
#08371A #080D37 #370825 #373208
split-complementary
#08371A #320837 #37080D
monochromatic
#041B0D #041B0D #08371A #106C33 #18A24D

Accessibility & contrast

On white

13.36
#08371A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08371A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08371A#FFFFFF#000000##FFFFFF
##08371A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373218
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#003630
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #08371a;
/* rgb */ color: rgb(8, 55, 26);
/* oklch */ color: oklch(29.8% 0.071 151.6);
Tailwind
colors: {
  custom: {
    50: '#506e57',
    500: '#08371a',
    950: '#000000',
  },
}
SCSS
$custom: #08371a;
$custom-light: #506e57;
$custom-dark: #000000;
JSON
{
  "hex": "#08371a",
  "rgb": {
    "r": 8,
    "g": 55,
    "b": 26
  },
  "hsl": {
    "h": 142.979,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29786,
    "c": 0.07143,
    "h": 151.6
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#08371A
secondary
#762557
accent
#37AAF1
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08371A

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

Preview Lab → · Contrast checker → · Palette generator →

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