#34571E#34571E

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

Color values

HEX#34571E
RGBrgb(52, 87, 30)
HSLhsl(97, 49%, 23%)
HSVhsv(97, 66%, 34%)
CMYKcmyk(40.2%, 0%, 65.5%, 65.9%)
CIE-LABlab(33.22, -24.09, 28.51)
CIE-LCHlch(33.22, 37.32, 130.19°)
OKLaboklab(41.62% -0.0668 0.0664)
OKLCHoklch(41.62% 0.094 135.2)
XYZxyz(5.0586, 7.6400, 2.4362)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34571E #411E57
analogous
#50571E #34571E #1E5724
triadic
#34571E #1E3457 #571E34
tetradic
#34571E #1E5057 #411E57 #57241E
square
#34571E #1E5057 #411E57 #57241E
split-complementary
#34571E #241E57 #571E50
monochromatic
#0E1708 #19290E #34571E #4F852E #6AB23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34571E#FFFFFF#000000##FFFFFF
##34571E1.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)
#5A5018
Deuteranopia (green-blind)
#554D22
Tritanopia (blue-blind)
#33544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34571e;
/* rgb */ color: rgb(52, 87, 30);
/* oklch */ color: oklch(41.6% 0.094 135.2);
Tailwind
colors: {
  custom: {
    50: '#6e865c',
    500: '#34571e',
    950: '#000000',
  },
}
SCSS
$custom: #34571e;
$custom-light: #6e865c;
$custom-dark: #000000;
JSON
{
  "hex": "#34571e",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 96.842,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.09422,
    "h": 135.2
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#34571E
secondary
#71458C
accent
#50D8A3
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34571E

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

Preview Lab → · Contrast checker → · Palette generator →

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