#08340D#08340D

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

Color values

HEX#08340D
RGBrgb(8, 52, 13)
HSLhsl(127, 73%, 12%)
HSVhsv(127, 85%, 20%)
CMYKcmyk(84.6%, 0%, 75%, 79.6%)
CIE-LABlab(18.08, -24.32, 19.78)
CIE-LCHlch(18.08, 31.35, 140.88°)
OKLaboklab(28.58% -0.0657 0.0465)
OKLCHoklch(28.58% 0.081 144.7)
XYZxyz(1.4007, 2.5365, 0.7965)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08340D #34082F
analogous
#193408 #08340D #083423
triadic
#08340D #0D0834 #340D08
tetradic
#08340D #081934 #34082F #342308
square
#08340D #081934 #34082F #342308
split-complementary
#08340D #230834 #340819
monochromatic
#041B07 #041B07 #08340D #10691A #189E28

Accessibility & contrast

On white

13.93
#08340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08340D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08340D#FFFFFF#000000##FFFFFF
##08340D1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08340d;
/* rgb */ color: rgb(8, 52, 13);
/* oklch */ color: oklch(28.6% 0.081 144.7);
Tailwind
colors: {
  custom: {
    50: '#506c4d',
    500: '#08340d',
    950: '#000000',
  },
}
SCSS
$custom: #08340d;
$custom-light: #506c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#08340d",
  "rgb": {
    "r": 8,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 126.818,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28576,
    "c": 0.08052,
    "h": 144.7
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#08340D
secondary
#73256A
accent
#38DBF0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #08340D

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

Preview Lab → · Contrast checker → · Palette generator →

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