#34571F#34571F

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

Color values

HEX#34571F
RGBrgb(52, 87, 31)
HSLhsl(98, 47%, 23%)
HSVhsv(98, 64%, 34%)
CMYKcmyk(40.2%, 0%, 64.4%, 65.9%)
CIE-LABlab(33.23, -23.97, 28.00)
CIE-LCHlch(33.23, 36.86, 130.56°)
OKLaboklab(41.63% -0.0664 0.0654)
OKLCHoklch(41.63% 0.093 135.4)
XYZxyz(5.0716, 7.6451, 2.5045)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34571F #421F57
analogous
#50571F #34571F #1F5726
triadic
#34571F #1F3457 #571F34
tetradic
#34571F #1F5057 #421F57 #57261F
square
#34571F #1F5057 #421F57 #57261F
split-complementary
#34571F #261F57 #571F50
monochromatic
#0D1708 #192A0F #34571F #4F842F #6AB13F

Accessibility & contrast

On white

8.30
#34571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34571F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34571F#FFFFFF#000000##FFFFFF
##34571F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34571f;
/* rgb */ color: rgb(52, 87, 31);
/* oklch */ color: oklch(41.6% 0.093 135.4);
Tailwind
colors: {
  custom: {
    50: '#6e865d',
    500: '#34571f',
    950: '#000000',
  },
}
SCSS
$custom: #34571f;
$custom-light: #6e865d;
$custom-dark: #000000;
JSON
{
  "hex": "#34571f",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 97.5,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41629,
    "c": 0.09326,
    "h": 135.4
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#34571F
secondary
#72468C
accent
#51D7A5
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34571F

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

Preview Lab → · Contrast checker → · Palette generator →

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