#34540D#34540D

#34540D is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.103 H 131.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#34540D
RGBrgb(52, 84, 13)
HSLhsl(87, 73%, 19%)
HSVhsv(87, 85%, 33%)
CMYKcmyk(38.1%, 0%, 84.5%, 67.1%)
CIE-LABlab(32.03, -24.05, 34.81)
CIE-LCHlch(32.03, 42.31, 124.64°)
OKLaboklab(40.6% -0.0682 0.077)
OKLCHoklch(40.6% 0.103 131.5)
XYZxyz(4.6591, 7.0996, 1.5056)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34540D #2D0D54
analogous
#54510D #34540D #11540D
triadic
#34540D #0D3454 #540D34
tetradic
#34540D #0D5451 #2D0D54 #540D11
square
#34540D #0D5451 #2D0D54 #540D11
split-complementary
#34540D #0D1154 #510D54
monochromatic
#101A04 #131F05 #34540D #558915 #76BE1D

Accessibility & contrast

On white

8.68
#34540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#34540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34540D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34540D#FFFFFF#000000##FFFFFF
##34540D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#355047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #34540d;
/* rgb */ color: rgb(52, 84, 13);
/* oklch */ color: oklch(40.6% 0.103 131.5);
Tailwind
colors: {
  custom: {
    50: '#6f8452',
    500: '#34540d',
    950: '#000000',
  },
}
SCSS
$custom: #34540d;
$custom-light: #6f8452;
$custom-dark: #000000;
JSON
{
  "hex": "#34540d",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 87.042,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.406,
    "c": 0.10289,
    "h": 131.5
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#34540D
secondary
#5A2E8F
accent
#38F08B
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#080B02
muted
#7B7C78

Preview Lab

Preview with #34540D

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

Preview Lab → · Contrast checker → · Palette generator →

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