#08340B#08340B

#08340B is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.6% C 0.082 H 144.0°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#08340B
RGBrgb(8, 52, 11)
HSLhsl(124, 73%, 12%)
HSVhsv(124, 85%, 20%)
CMYKcmyk(84.6%, 0%, 78.8%, 79.6%)
CIE-LABlab(18.06, -24.59, 20.67)
CIE-LCHlch(18.06, 32.12, 139.95°)
OKLaboklab(28.55% -0.0666 0.0484)
OKLCHoklch(28.55% 0.082 144)
XYZxyz(1.3884, 2.5316, 0.7320)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08340B #340831
analogous
#1B3408 #08340B #083421
triadic
#08340B #0B0834 #340B08
tetradic
#08340B #081B34 #340831 #342108
square
#08340B #081B34 #340831 #342108
split-complementary
#08340B #210834 #34081B
monochromatic
#041B06 #041B06 #08340B #106916 #189E21

Accessibility & contrast

On white

13.94
#08340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#08340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08340B
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08340B#FFFFFF#000000##FFFFFF
##08340B1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E06
Deuteranopia (green-blind)
#302B0F
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #08340b;
/* rgb */ color: rgb(8, 52, 11);
/* oklch */ color: oklch(28.6% 0.082 144.0);
Tailwind
colors: {
  custom: {
    50: '#506c4c',
    500: '#08340b',
    950: '#000000',
  },
}
SCSS
$custom: #08340b;
$custom-light: #506c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#08340b",
  "rgb": {
    "r": 8,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 124.091,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28551,
    "c": 0.08232,
    "h": 144
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#08340B
secondary
#73256E
accent
#38E3F0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #08340B

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

Preview Lab → · Contrast checker → · Palette generator →

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