#34571D#34571D

#34571D is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.6% C 0.095 H 134.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#34571D
RGBrgb(52, 87, 29)
HSLhsl(96, 50%, 23%)
HSVhsv(96, 67%, 34%)
CMYKcmyk(40.2%, 0%, 66.7%, 65.9%)
CIE-LABlab(33.21, -24.19, 29.00)
CIE-LCHlch(33.21, 37.77, 129.83°)
OKLaboklab(41.6% -0.0672 0.0673)
OKLCHoklch(41.6% 0.095 134.9)
XYZxyz(5.0460, 7.6349, 2.3700)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34571D #401D57
analogous
#51571D #34571D #1D5723
triadic
#34571D #1D3457 #571D34
tetradic
#34571D #1D5157 #401D57 #57231D
square
#34571D #1D5157 #401D57 #57231D
split-complementary
#34571D #231D57 #571D51
monochromatic
#0E1708 #19290E #34571D #4F852C #6BB33C

Accessibility & contrast

On white

8.31
#34571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#34571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34571D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34571D#FFFFFF#000000##FFFFFF
##34571D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5016
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#33544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34571d;
/* rgb */ color: rgb(52, 87, 29);
/* oklch */ color: oklch(41.6% 0.095 134.9);
Tailwind
colors: {
  custom: {
    50: '#6e865c',
    500: '#34571d',
    950: '#000000',
  },
}
SCSS
$custom: #34571d;
$custom-light: #6e865c;
$custom-dark: #000000;
JSON
{
  "hex": "#34571d",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 96.207,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.09515,
    "h": 134.9
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#34571D
secondary
#6F448C
accent
#4EDAA2
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34571D

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

Preview Lab → · Contrast checker → · Palette generator →

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