#08391B#08391B

#08391B is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.5% C 0.073 H 151.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#08391B
RGBrgb(8, 57, 27)
HSLhsl(143, 75%, 13%)
HSVhsv(143, 86%, 22%)
CMYKcmyk(86%, 0%, 52.6%, 77.6%)
CIE-LABlab(20.27, -24.03, 14.23)
CIE-LCHlch(20.27, 27.93, 149.37°)
OKLaboklab(30.45% -0.0646 0.035)
OKLCHoklch(30.45% 0.074 151.6)
XYZxyz(1.7609, 3.0568, 1.5339)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08391B #390826
analogous
#0E3908 #08391B #083933
triadic
#08391B #1B0839 #391B08
tetradic
#08391B #080E39 #390826 #393308
square
#08391B #080E39 #390826 #393308
split-complementary
#08391B #330839 #39080E
monochromatic
#041B0D #041B0D #08391B #106F34 #17A44E

Accessibility & contrast

On white

13.03
#08391B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#08391B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08391B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08391B#FFFFFF#000000##FFFFFF
##08391B1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393319
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #08391b;
/* rgb */ color: rgb(8, 57, 27);
/* oklch */ color: oklch(30.5% 0.073 151.6);
Tailwind
colors: {
  custom: {
    50: '#507057',
    500: '#08391b',
    950: '#000000',
  },
}
SCSS
$custom: #08391b;
$custom-light: #507057;
$custom-dark: #000000;
JSON
{
  "hex": "#08391b",
  "rgb": {
    "r": 8,
    "g": 57,
    "b": 27
  },
  "hsl": {
    "h": 143.265,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.0735,
    "h": 151.6
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#08391B
secondary
#782558
accent
#36A9F2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08391B

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

Preview Lab → · Contrast checker → · Palette generator →

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