#3A571B#3A571B

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

Color values

HEX#3A571B
RGBrgb(58, 87, 27)
HSLhsl(89, 53%, 22%)
HSVhsv(89, 69%, 34%)
CMYKcmyk(33.3%, 0%, 69%, 65.9%)
CIE-LABlab(33.55, -21.96, 30.48)
CIE-LCHlch(33.55, 37.56, 125.77°)
OKLaboklab(41.97% -0.0617 0.0701)
OKLCHoklch(41.97% 0.093 131.3)
XYZxyz(5.3509, 7.7949, 2.2593)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A571B #381B57
analogous
#57561B #3A571B #1C571B
triadic
#3A571B #1B3A57 #571B3A
tetradic
#3A571B #1B5756 #381B57 #571B1C
square
#3A571B #1B5756 #381B57 #571B1C
split-complementary
#3A571B #1B1C57 #561B57
monochromatic
#101707 #1B280D #3A571B #598629 #78B438

Accessibility & contrast

On white

8.21
#3A571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A571B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A571B#FFFFFF#000000##FFFFFF
##3A571B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a571b;
/* rgb */ color: rgb(58, 87, 27);
/* oklch */ color: oklch(42.0% 0.093 131.3);
Tailwind
colors: {
  custom: {
    50: '#73865a',
    500: '#3a571b',
    950: '#000000',
  },
}
SCSS
$custom: #3a571b;
$custom-light: #73865a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a571b",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 89,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.09339,
    "h": 131.3
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#3A571B
secondary
#66418D
accent
#4CDC91
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A571B

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

Preview Lab → · Contrast checker → · Palette generator →

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