#08311A#08311A

#08311A is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.062 H 154.2°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#08311A
RGBrgb(8, 49, 26)
HSLhsl(146, 72%, 11%)
HSVhsv(146, 84%, 19%)
CMYKcmyk(83.7%, 0%, 46.9%, 80.8%)
CIE-LABlab(17.10, -20.54, 10.75)
CIE-LCHlch(17.10, 23.18, 152.38°)
OKLaboklab(27.83% -0.0554 0.0268)
OKLCHoklch(27.83% 0.062 154.2)
XYZxyz(1.3848, 2.3227, 1.3524)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08311A #31081F
analogous
#0A3108 #08311A #08312E
triadic
#08311A #1A0831 #311A08
tetradic
#08311A #080A31 #31081F #312E08
square
#08311A #080A31 #31081F #312E08
split-complementary
#08311A #2E0831 #31080A
monochromatic
#041A0E #041A0E #08311A #116636 #199A52

Accessibility & contrast

On white

14.34
#08311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#08311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08311A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08311A#FFFFFF#000000##FFFFFF
##08311A1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C18
Deuteranopia (green-blind)
#2C291C
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #08311a;
/* rgb */ color: rgb(8, 49, 26);
/* oklch */ color: oklch(27.8% 0.062 154.2);
Tailwind
colors: {
  custom: {
    50: '#4e6956',
    500: '#08311a',
    950: '#000000',
  },
}
SCSS
$custom: #08311a;
$custom-light: #4e6956;
$custom-dark: #000000;
JSON
{
  "hex": "#08311a",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 146.341,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2783,
    "c": 0.06158,
    "h": 154.2
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#08311A
secondary
#70254F
accent
#399FEF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #08311A

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

Preview Lab → · Contrast checker → · Palette generator →

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