#34520D#34520D

#34520D is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.100 H 130.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#34520D
RGBrgb(52, 82, 13)
HSLhsl(86, 73%, 19%)
HSVhsv(86, 84%, 32%)
CMYKcmyk(36.6%, 0%, 84.1%, 67.8%)
CIE-LABlab(31.33, -23.05, 34.15)
CIE-LCHlch(31.33, 41.20, 124.02°)
OKLaboklab(40.03% -0.0655 0.0757)
OKLCHoklch(40.03% 0.1 130.9)
XYZxyz(4.5061, 6.7935, 1.4546)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34520D #2B0D52
analogous
#524D0D #34520D #11520D
triadic
#34520D #0D3452 #520D34
tetradic
#34520D #0D524D #2B0D52 #520D11
square
#34520D #0D524D #2B0D52 #520D11
split-complementary
#34520D #0D1152 #4D0D52
monochromatic
#111A04 #121D05 #34520D #558715 #77BC1E

Accessibility & contrast

On white

8.90
#34520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#34520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34520D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34520D#FFFFFF#000000##FFFFFF
##34520D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#354E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34520d;
/* rgb */ color: rgb(52, 82, 13);
/* oklch */ color: oklch(40.0% 0.100 130.9);
Tailwind
colors: {
  custom: {
    50: '#6f8352',
    500: '#34520d',
    950: '#000000',
  },
}
SCSS
$custom: #34520d;
$custom-light: #6f8352;
$custom-dark: #000000;
JSON
{
  "hex": "#34520d",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 86.087,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.10009,
    "h": 130.9
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#34520D
secondary
#572E8D
accent
#38EF88
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #34520D

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

Preview Lab → · Contrast checker → · Palette generator →

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