#08341B#08341B

#08341B is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.8% C 0.065 H 153.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#08341B
RGBrgb(8, 52, 27)
HSLhsl(146, 73%, 12%)
HSVhsv(146, 85%, 20%)
CMYKcmyk(84.6%, 0%, 48.1%, 79.6%)
CIE-LABlab(18.31, -21.74, 11.68)
CIE-LCHlch(18.31, 24.68, 151.75°)
OKLaboklab(28.83% -0.0586 0.029)
OKLCHoklch(28.83% 0.065 153.7)
XYZxyz(1.5258, 2.5866, 1.4555)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08341B #340821
analogous
#0B3408 #08341B #083431
triadic
#08341B #1B0834 #341B08
tetradic
#08341B #080B34 #340821 #343108
square
#08341B #080B34 #340821 #343108
split-complementary
#08341B #310834 #34080B
monochromatic
#041B0E #041B0E #08341B #106937 #189E52

Accessibility & contrast

On white

13.84
#08341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#08341B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08341B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08341B#FFFFFF#000000##FFFFFF
##08341B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#2F2B1D
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #08341b;
/* rgb */ color: rgb(8, 52, 27);
/* oklch */ color: oklch(28.8% 0.065 153.7);
Tailwind
colors: {
  custom: {
    50: '#4f6c57',
    500: '#08341b',
    950: '#000000',
  },
}
SCSS
$custom: #08341b;
$custom-light: #4f6c57;
$custom-dark: #000000;
JSON
{
  "hex": "#08341b",
  "rgb": {
    "r": 8,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 145.909,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28833,
    "c": 0.06541,
    "h": 153.7
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#08341B
secondary
#732551
accent
#38A0F0
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08341B

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

Preview Lab → · Contrast checker → · Palette generator →

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