#34571C#34571C

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

Color values

HEX#34571C
RGBrgb(52, 87, 28)
HSLhsl(96, 51%, 23%)
HSVhsv(96, 68%, 34%)
CMYKcmyk(40.2%, 0%, 67.8%, 65.9%)
CIE-LABlab(33.20, -24.30, 29.49)
CIE-LCHlch(33.20, 38.22, 129.49°)
OKLaboklab(41.59% -0.0676 0.0683)
OKLCHoklch(41.59% 0.096 134.7)
XYZxyz(5.0339, 7.6301, 2.3059)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34571C #3F1C57
analogous
#51571C #34571C #1C5721
triadic
#34571C #1C3457 #571C34
tetradic
#34571C #1C5157 #3F1C57 #57211C
square
#34571C #1C5157 #3F1C57 #57211C
split-complementary
#34571C #211C57 #571C51
monochromatic
#0E1707 #18290D #34571C #50852B #6BB43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34571C#FFFFFF#000000##FFFFFF
##34571C1.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)
#5A5015
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#34544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34571c;
/* rgb */ color: rgb(52, 87, 28);
/* oklch */ color: oklch(41.6% 0.096 134.7);
Tailwind
colors: {
  custom: {
    50: '#6e865b',
    500: '#34571c',
    950: '#000000',
  },
}
SCSS
$custom: #34571c;
$custom-light: #6e865b;
$custom-dark: #000000;
JSON
{
  "hex": "#34571c",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 95.593,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.09607,
    "h": 134.7
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#34571C
secondary
#6E428D
accent
#4DDBA1
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34571C

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

Preview Lab → · Contrast checker → · Palette generator →

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