#3A571C#3A571C

#3A571C is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.0% C 0.092 H 131.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3A571C
RGBrgb(58, 87, 28)
HSLhsl(89, 51%, 23%)
HSVhsv(89, 68%, 34%)
CMYKcmyk(33.3%, 0%, 67.8%, 65.9%)
CIE-LABlab(33.56, -21.86, 30.00)
CIE-LCHlch(33.56, 37.11, 126.08°)
OKLaboklab(41.98% -0.0613 0.0692)
OKLCHoklch(41.98% 0.092 131.5)
XYZxyz(5.3627, 7.7996, 2.3213)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A571C #391C57
analogous
#57571C #3A571C #1C571C
triadic
#3A571C #1C3A57 #571C3A
tetradic
#3A571C #1C5757 #391C57 #571C1C
square
#3A571C #1C5757 #391C57 #571C1C
split-complementary
#3A571C #1C1C57 #571C57
monochromatic
#0F1707 #1B290D #3A571C #59852B #78B43A

Accessibility & contrast

On white

8.20
#3A571C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A571C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A571C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A571C#FFFFFF#000000##FFFFFF
##3A571C1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5015
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#3B534B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a571c;
/* rgb */ color: rgb(58, 87, 28);
/* oklch */ color: oklch(42.0% 0.092 131.5);
Tailwind
colors: {
  custom: {
    50: '#73865b',
    500: '#3a571c',
    950: '#000000',
  },
}
SCSS
$custom: #3a571c;
$custom-light: #73865b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a571c",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 89.492,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.09249,
    "h": 131.5
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#3A571C
secondary
#67428D
accent
#4DDB93
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A571C

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

Preview Lab → · Contrast checker → · Palette generator →

#3A571C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva