#08311B#08311B

#08311B is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.9% C 0.060 H 155.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#08311B
RGBrgb(8, 49, 27)
HSLhsl(148, 72%, 11%)
HSVhsv(148, 84%, 19%)
CMYKcmyk(83.7%, 0%, 44.9%, 80.8%)
CIE-LABlab(17.12, -20.30, 10.11)
CIE-LCHlch(17.12, 22.68, 153.52°)
OKLaboklab(27.85% -0.0549 0.0253)
OKLCHoklch(27.85% 0.06 155.2)
XYZxyz(1.3962, 2.3272, 1.4123)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08311B #31081E
analogous
#093108 #08311B #08312F
triadic
#08311B #1B0831 #311B08
tetradic
#08311B #080931 #31081E #312F08
square
#08311B #080931 #31081E #312F08
split-complementary
#08311B #2F0831 #310809
monochromatic
#041A0E #041A0E #08311B #116638 #199A55

Accessibility & contrast

On white

14.33
#08311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08311B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08311B#FFFFFF#000000##FFFFFF
##08311B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08311b;
/* rgb */ color: rgb(8, 49, 27);
/* oklch */ color: oklch(27.9% 0.060 155.2);
Tailwind
colors: {
  custom: {
    50: '#4e6957',
    500: '#08311b',
    950: '#000000',
  },
}
SCSS
$custom: #08311b;
$custom-light: #4e6957;
$custom-dark: #000000;
JSON
{
  "hex": "#08311b",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 147.805,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27854,
    "c": 0.06042,
    "h": 155.2
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#08311B
secondary
#70254D
accent
#399BEF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #08311B

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

Preview Lab → · Contrast checker → · Palette generator →

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