#3A571A#3A571A

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

Color values

HEX#3A571A
RGBrgb(58, 87, 26)
HSLhsl(89, 54%, 22%)
HSVhsv(89, 70%, 34%)
CMYKcmyk(33.3%, 0%, 70.1%, 65.9%)
CIE-LABlab(33.54, -22.05, 30.95)
CIE-LCHlch(33.54, 38.00, 125.47°)
OKLaboklab(41.96% -0.062 0.071)
OKLCHoklch(41.96% 0.094 131.2)
XYZxyz(5.3395, 7.7903, 2.1994)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A571A #371A57
analogous
#57561A #3A571A #1B571A
triadic
#3A571A #1A3A57 #571A3A
tetradic
#3A571A #1A5756 #371A57 #571A1B
square
#3A571A #1A5756 #371A57 #571A1B
split-complementary
#3A571A #1A1B57 #561A57
monochromatic
#101807 #1B280C #3A571A #598628 #79B536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A571A#FFFFFF#000000##FFFFFF
##3A571A1.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)
#5B5012
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#3B534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a571a;
/* rgb */ color: rgb(58, 87, 26);
/* oklch */ color: oklch(42.0% 0.094 131.2);
Tailwind
colors: {
  custom: {
    50: '#73865a',
    500: '#3a571a',
    950: '#000000',
  },
}
SCSS
$custom: #3a571a;
$custom-light: #73865a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a571a",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 88.525,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.09426,
    "h": 131.2
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#3A571A
secondary
#64408D
accent
#4ADD90
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A571A

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

Preview Lab → · Contrast checker → · Palette generator →

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