#34571A#34571A

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

Color values

HEX#34571A
RGBrgb(52, 87, 26)
HSLhsl(94, 54%, 22%)
HSVhsv(94, 70%, 34%)
CMYKcmyk(40.2%, 0%, 70.1%, 65.9%)
CIE-LABlab(33.18, -24.50, 30.45)
CIE-LCHlch(33.18, 39.09, 128.82°)
OKLaboklab(41.57% -0.0683 0.07)
OKLCHoklch(41.57% 0.098 134.3)
XYZxyz(5.0107, 7.6208, 2.1840)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34571A #3D1A57
analogous
#53571A #34571A #1A571F
triadic
#34571A #1A3457 #571A34
tetradic
#34571A #1A5357 #3D1A57 #571F1A
square
#34571A #1A5357 #3D1A57 #571F1A
split-complementary
#34571A #1F1A57 #571A53
monochromatic
#0E1807 #18280C #34571A #508628 #6CB536

Accessibility & contrast

On white

8.32
#34571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#34571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34571A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34571A#FFFFFF#000000##FFFFFF
##34571A1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#34534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34571a;
/* rgb */ color: rgb(52, 87, 26);
/* oklch */ color: oklch(41.6% 0.098 134.3);
Tailwind
colors: {
  custom: {
    50: '#6f865a',
    500: '#34571a',
    950: '#000000',
  },
}
SCSS
$custom: #34571a;
$custom-light: #6f865a;
$custom-dark: #000000;
JSON
{
  "hex": "#34571a",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 94.426,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.09783,
    "h": 134.3
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#34571A
secondary
#6C408D
accent
#4ADD9F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34571A

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

Preview Lab → · Contrast checker → · Palette generator →

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