#08310E#08310E

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

Color values

HEX#08310E
RGBrgb(8, 49, 14)
HSLhsl(129, 72%, 11%)
HSVhsv(129, 84%, 19%)
CMYKcmyk(83.7%, 0%, 71.4%, 80.8%)
CIE-LABlab(16.89, -22.89, 17.85)
CIE-LCHlch(16.89, 29.03, 142.05°)
OKLaboklab(27.59% -0.0618 0.0425)
OKLCHoklch(27.59% 0.075 145.5)
XYZxyz(1.2776, 2.2798, 0.7881)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08310E #31082B
analogous
#163108 #08310E #083122
triadic
#08310E #0E0831 #310E08
tetradic
#08310E #081631 #31082B #312208
square
#08310E #081631 #31082B #312208
split-complementary
#08310E #220831 #310816
monochromatic
#041A08 #041A08 #08310E #11661D #199A2C

Accessibility & contrast

On white

14.42
#08310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08310E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08310E#FFFFFF#000000##FFFFFF
##08310E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0A
Deuteranopia (green-blind)
#2D2811
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #08310e;
/* rgb */ color: rgb(8, 49, 14);
/* oklch */ color: oklch(27.6% 0.075 145.5);
Tailwind
colors: {
  custom: {
    50: '#4e694e',
    500: '#08310e',
    950: '#000000',
  },
}
SCSS
$custom: #08310e;
$custom-light: #4e694e;
$custom-dark: #000000;
JSON
{
  "hex": "#08310e",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 128.78,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.07501,
    "h": 145.5
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#08310E
secondary
#702565
accent
#39D4EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #08310E

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

Preview Lab → · Contrast checker → · Palette generator →

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