#08340E#08340E

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

Color values

HEX#08340E
RGBrgb(8, 52, 14)
HSLhsl(128, 73%, 12%)
HSVhsv(128, 85%, 20%)
CMYKcmyk(84.6%, 0%, 73.1%, 79.6%)
CIE-LABlab(18.09, -24.18, 19.31)
CIE-LCHlch(18.09, 30.95, 141.40°)
OKLaboklab(28.59% -0.0653 0.0455)
OKLCHoklch(28.59% 0.08 145.2)
XYZxyz(1.4073, 2.5392, 0.8313)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08340E #34082E
analogous
#183408 #08340E #083424
triadic
#08340E #0E0834 #340E08
tetradic
#08340E #081834 #34082E #342408
square
#08340E #081834 #34082E #342408
split-complementary
#08340E #240834 #340818
monochromatic
#041B07 #041B07 #08340E #10691C #189E2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #08340e;
/* rgb */ color: rgb(8, 52, 14);
/* oklch */ color: oklch(28.6% 0.080 145.2);
Tailwind
colors: {
  custom: {
    50: '#4f6c4e',
    500: '#08340e',
    950: '#000000',
  },
}
SCSS
$custom: #08340e;
$custom-light: #4f6c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#08340e",
  "rgb": {
    "r": 8,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 128.182,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2859,
    "c": 0.07957,
    "h": 145.2
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#08340E
secondary
#732568
accent
#38D7F0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #08340E

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

Preview Lab → · Contrast checker → · Palette generator →

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