#08311C#08311C

#08311C is a dark, muted green. Relative luminance 0.023; OKLCH L 27.9% C 0.059 H 156.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#08311C
RGBrgb(8, 49, 28)
HSLhsl(149, 72%, 11%)
HSVhsv(149, 84%, 19%)
CMYKcmyk(83.7%, 0%, 42.9%, 80.8%)
CIE-LABlab(17.14, -20.05, 9.47)
CIE-LCHlch(17.14, 22.18, 154.72°)
OKLaboklab(27.88% -0.0543 0.0238)
OKLCHoklch(27.88% 0.059 156.3)
XYZxyz(1.4079, 2.3319, 1.4743)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08311C #31081D
analogous
#083108 #08311C #083130
triadic
#08311C #1C0831 #311C08
tetradic
#08311C #080831 #31081D #313008
square
#08311C #080831 #31081D #313008
split-complementary
#08311C #300831 #310808
monochromatic
#041A0F #041A0F #08311C #11663A #199A58

Accessibility & contrast

On white

14.32
#08311C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#08311C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08311C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08311C#FFFFFF#000000##FFFFFF
##08311C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1B
Deuteranopia (green-blind)
#2C291D
Tritanopia (blue-blind)
#00302C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #08311c;
/* rgb */ color: rgb(8, 49, 28);
/* oklch */ color: oklch(27.9% 0.059 156.3);
Tailwind
colors: {
  custom: {
    50: '#4e6958',
    500: '#08311c',
    950: '#000000',
  },
}
SCSS
$custom: #08311c;
$custom-light: #4e6958;
$custom-dark: #000000;
JSON
{
  "hex": "#08311c",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 149.268,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2788,
    "c": 0.05927,
    "h": 156.3
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#08311C
secondary
#70254B
accent
#3996EF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #08311C

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

Preview Lab → · Contrast checker → · Palette generator →

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