#08391F#08391F

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

Color values

HEX#08391F
RGBrgb(8, 57, 31)
HSLhsl(148, 75%, 13%)
HSVhsv(148, 86%, 22%)
CMYKcmyk(86%, 0%, 45.6%, 77.6%)
CIE-LABlab(20.35, -23.14, 11.77)
CIE-LCHlch(20.35, 25.96, 153.04°)
OKLaboklab(30.55% -0.0624 0.0294)
OKLCHoklch(30.55% 0.069 154.8)
XYZxyz(1.8104, 3.0766, 1.7945)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08391F #390822
analogous
#0A3908 #08391F #083937
triadic
#08391F #1F0839 #391F08
tetradic
#08391F #080A39 #390822 #393708
square
#08391F #080A39 #390822 #393708
split-complementary
#08391F #370839 #39080A
monochromatic
#041B0F #041B0F #08391F #106F3C #17A459

Accessibility & contrast

On white

13.00
#08391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#08391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08391F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08391F#FFFFFF#000000##FFFFFF
##08391F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341D
Deuteranopia (green-blind)
#332F21
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #08391f;
/* rgb */ color: rgb(8, 57, 31);
/* oklch */ color: oklch(30.5% 0.069 154.8);
Tailwind
colors: {
  custom: {
    50: '#50705a',
    500: '#08391f',
    950: '#000000',
  },
}
SCSS
$custom: #08391f;
$custom-light: #50705a;
$custom-dark: #000000;
JSON
{
  "hex": "#08391f",
  "rgb": {
    "r": 8,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 148.163,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30545,
    "c": 0.06898,
    "h": 154.8
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#08391F
secondary
#782551
accent
#369AF2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #08391F

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

Preview Lab → · Contrast checker → · Palette generator →

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