#08310B#08310B

#08310B is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.078 H 144.1°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#08310B
RGBrgb(8, 49, 11)
HSLhsl(124, 72%, 11%)
HSVhsv(124, 84%, 19%)
CMYKcmyk(83.7%, 0%, 77.6%, 80.8%)
CIE-LABlab(16.86, -23.32, 19.21)
CIE-LCHlch(16.86, 30.22, 140.52°)
OKLaboklab(27.55% -0.0631 0.0456)
OKLCHoklch(27.55% 0.078 144.1)
XYZxyz(1.2588, 2.2723, 0.6888)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08310B #31082E
analogous
#193108 #08310B #08311F
triadic
#08310B #0B0831 #310B08
tetradic
#08310B #081931 #31082E #311F08
square
#08310B #081931 #31082E #311F08
split-complementary
#08310B #1F0831 #310819
monochromatic
#041A06 #041A06 #08310B #116617 #199A23

Accessibility & contrast

On white

14.44
#08310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#08310B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08310B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08310B#FFFFFF#000000##FFFFFF
##08310B1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C07
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #08310b;
/* rgb */ color: rgb(8, 49, 11);
/* oklch */ color: oklch(27.6% 0.078 144.1);
Tailwind
colors: {
  custom: {
    50: '#4f6a4c',
    500: '#08310b',
    950: '#000000',
  },
}
SCSS
$custom: #08310b;
$custom-light: #4f6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#08310b",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 124.39,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27552,
    "c": 0.07791,
    "h": 144.1
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#08310B
secondary
#70256A
accent
#39E1EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #08310B

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

Preview Lab → · Contrast checker → · Palette generator →

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