#08331A#08331A

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

Color values

HEX#08331A
RGBrgb(8, 51, 26)
HSLhsl(145, 73%, 12%)
HSVhsv(145, 84%, 20%)
CMYKcmyk(84.3%, 0%, 49%, 80%)
CIE-LABlab(17.89, -21.49, 11.79)
CIE-LCHlch(17.89, 24.52, 151.25°)
OKLaboklab(28.48% -0.0579 0.0293)
OKLCHoklch(28.48% 0.065 153.2)
XYZxyz(1.4703, 2.4937, 1.3809)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08331A #330821
analogous
#0C3308 #08331A #083330
triadic
#08331A #1A0833 #331A08
tetradic
#08331A #080C33 #330821 #333008
square
#08331A #080C33 #330821 #333008
split-complementary
#08331A #300833 #33080C
monochromatic
#041A0D #041A0D #08331A #106835 #199D50

Accessibility & contrast

On white

14.01
#08331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08331A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08331A#FFFFFF#000000##FFFFFF
##08331A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08331a;
/* rgb */ color: rgb(8, 51, 26);
/* oklch */ color: oklch(28.5% 0.065 153.2);
Tailwind
colors: {
  custom: {
    50: '#4f6b56',
    500: '#08331a',
    950: '#000000',
  },
}
SCSS
$custom: #08331a;
$custom-light: #4f6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#08331a",
  "rgb": {
    "r": 8,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 145.116,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28483,
    "c": 0.06491,
    "h": 153.2
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#08331A
secondary
#722552
accent
#38A3F0
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #08331A

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

Preview Lab → · Contrast checker → · Palette generator →

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