#08331B#08331B

#08331B is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.5% C 0.064 H 154.2°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#08331B
RGBrgb(8, 51, 27)
HSLhsl(147, 73%, 12%)
HSVhsv(147, 84%, 20%)
CMYKcmyk(84.3%, 0%, 47.1%, 80%)
CIE-LABlab(17.91, -21.26, 11.16)
CIE-LCHlch(17.91, 24.01, 152.30°)
OKLaboklab(28.51% -0.0574 0.0278)
OKLCHoklch(28.51% 0.064 154.2)
XYZxyz(1.4817, 2.4982, 1.4408)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08331B #330820
analogous
#0B3308 #08331B #083331
triadic
#08331B #1B0833 #331B08
tetradic
#08331B #080B33 #330820 #333108
square
#08331B #080B33 #330820 #333108
split-complementary
#08331B #310833 #33080B
monochromatic
#041A0E #041A0E #08331B #106837 #199D53

Accessibility & contrast

On white

14.00
#08331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#08331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08331B
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08331B#FFFFFF#000000##FFFFFF
##08331B1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E19
Deuteranopia (green-blind)
#2E2A1D
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #08331b;
/* rgb */ color: rgb(8, 51, 27);
/* oklch */ color: oklch(28.5% 0.064 154.2);
Tailwind
colors: {
  custom: {
    50: '#4f6b57',
    500: '#08331b',
    950: '#000000',
  },
}
SCSS
$custom: #08331b;
$custom-light: #4f6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#08331b",
  "rgb": {
    "r": 8,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 146.512,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28507,
    "c": 0.06376,
    "h": 154.2
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#08331B
secondary
#722550
accent
#389FF0
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #08331B

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

Preview Lab → · Contrast checker → · Palette generator →

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