#08340C#08340C

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

Color values

HEX#08340C
RGBrgb(8, 52, 12)
HSLhsl(125, 73%, 12%)
HSVhsv(125, 85%, 20%)
CMYKcmyk(84.6%, 0%, 76.9%, 79.6%)
CIE-LABlab(18.07, -24.46, 20.24)
CIE-LCHlch(18.07, 31.75, 140.39°)
OKLaboklab(28.56% -0.0662 0.0475)
OKLCHoklch(28.56% 0.081 144.3)
XYZxyz(1.3944, 2.5340, 0.7634)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08340C #340830
analogous
#1A3408 #08340C #083422
triadic
#08340C #0C0834 #340C08
tetradic
#08340C #081A34 #340830 #342208
square
#08340C #081A34 #340830 #342208
split-complementary
#08340C #220834 #34081A
monochromatic
#041B06 #041B06 #08340C #106918 #189E24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##08340C#FFFFFF#000000##FFFFFF
##08340C1.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)
#352E07
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #08340c;
/* rgb */ color: rgb(8, 52, 12);
/* oklch */ color: oklch(28.6% 0.081 144.3);
Tailwind
colors: {
  custom: {
    50: '#506c4d',
    500: '#08340c',
    950: '#000000',
  },
}
SCSS
$custom: #08340c;
$custom-light: #506c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#08340c",
  "rgb": {
    "r": 8,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 125.455,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28563,
    "c": 0.08143,
    "h": 144.3
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#08340C
secondary
#73256C
accent
#38DFF0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #08340C

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

Preview Lab → · Contrast checker → · Palette generator →

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