#34541D#34541D

#34541D is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.090 H 134.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#34541D
RGBrgb(52, 84, 29)
HSLhsl(95, 49%, 22%)
HSVhsv(95, 65%, 33%)
CMYKcmyk(38.1%, 0%, 65.5%, 67.1%)
CIE-LABlab(32.17, -22.69, 27.83)
CIE-LCHlch(32.17, 35.91, 129.19°)
OKLaboklab(40.75% -0.0631 0.0649)
OKLCHoklch(40.75% 0.09 134.2)
XYZxyz(4.8082, 7.1592, 2.2907)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34541D #3D1D54
analogous
#50541D #34541D #1D5421
triadic
#34541D #1D3454 #541D34
tetradic
#34541D #1D5054 #3D1D54 #54211D
square
#34541D #1D5054 #3D1D54 #54211D
split-complementary
#34541D #211D54 #541D50
monochromatic
#0E1708 #18270D #34541D #50812D #6CAF3C

Accessibility & contrast

On white

8.64
#34541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#34541D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34541D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34541D#FFFFFF#000000##FFFFFF
##34541D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#345148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #34541d;
/* rgb */ color: rgb(52, 84, 29);
/* oklch */ color: oklch(40.8% 0.090 134.2);
Tailwind
colors: {
  custom: {
    50: '#6e845b',
    500: '#34541d',
    950: '#000000',
  },
}
SCSS
$custom: #34541d;
$custom-light: #6e845b;
$custom-dark: #000000;
JSON
{
  "hex": "#34541d",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 94.909,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.09049,
    "h": 134.2
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#34541D
secondary
#6C4489
accent
#50D89F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34541D

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

Preview Lab → · Contrast checker → · Palette generator →

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