#08310C#08310C

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

Color values

HEX#08310C
RGBrgb(8, 49, 12)
HSLhsl(126, 72%, 11%)
HSVhsv(126, 84%, 19%)
CMYKcmyk(83.7%, 0%, 75.5%, 80.8%)
CIE-LABlab(16.87, -23.19, 18.78)
CIE-LCHlch(16.87, 29.84, 141.00°)
OKLaboklab(27.57% -0.0627 0.0446)
OKLCHoklch(27.57% 0.077 144.6)
XYZxyz(1.2647, 2.2747, 0.7202)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08310C #31082D
analogous
#183108 #08310C #083120
triadic
#08310C #0C0831 #310C08
tetradic
#08310C #081831 #31082D #312008
square
#08310C #081831 #31082D #312008
split-complementary
#08310C #200831 #310818
monochromatic
#041A06 #041A06 #08310C #116619 #199A26

Accessibility & contrast

On white

14.43
#08310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#08310C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08310C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08310C#FFFFFF#000000##FFFFFF
##08310C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08310c;
/* rgb */ color: rgb(8, 49, 12);
/* oklch */ color: oklch(27.6% 0.077 144.6);
Tailwind
colors: {
  custom: {
    50: '#4f694d',
    500: '#08310c',
    950: '#000000',
  },
}
SCSS
$custom: #08310c;
$custom-light: #4f694d;
$custom-dark: #000000;
JSON
{
  "hex": "#08310c",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 125.854,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27565,
    "c": 0.07697,
    "h": 144.6
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#08310C
secondary
#702569
accent
#39DDEF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #08310C

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

Preview Lab → · Contrast checker → · Palette generator →

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