#08310D#08310D

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

Color values

HEX#08310D
RGBrgb(8, 49, 13)
HSLhsl(127, 72%, 11%)
HSVhsv(127, 84%, 19%)
CMYKcmyk(83.7%, 0%, 73.5%, 80.8%)
CIE-LABlab(16.88, -23.04, 18.33)
CIE-LCHlch(16.88, 29.44, 141.50°)
OKLaboklab(27.58% -0.0623 0.0436)
OKLCHoklch(27.58% 0.076 145)
XYZxyz(1.2710, 2.2772, 0.7532)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08310D #31082C
analogous
#173108 #08310D #083121
triadic
#08310D #0D0831 #310D08
tetradic
#08310D #081731 #31082C #312108
square
#08310D #081731 #31082C #312108
split-complementary
#08310D #210831 #310817
monochromatic
#041A07 #041A07 #08310D #11661B #199A29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##08310D#FFFFFF#000000##FFFFFF
##08310D1.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)
#322C09
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #08310d;
/* rgb */ color: rgb(8, 49, 13);
/* oklch */ color: oklch(27.6% 0.076 145.0);
Tailwind
colors: {
  custom: {
    50: '#4f694d',
    500: '#08310d',
    950: '#000000',
  },
}
SCSS
$custom: #08310d;
$custom-light: #4f694d;
$custom-dark: #000000;
JSON
{
  "hex": "#08310d",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 127.317,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27579,
    "c": 0.07601,
    "h": 145
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#08310D
secondary
#702567
accent
#39D9EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #08310D

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

Preview Lab → · Contrast checker → · Palette generator →

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