#3A570F#3A570F

#3A570F is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.9% C 0.102 H 129.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3A570F
RGBrgb(58, 87, 15)
HSLhsl(84, 71%, 20%)
HSVhsv(84, 83%, 34%)
CMYKcmyk(33.3%, 0%, 82.8%, 65.9%)
CIE-LABlab(33.46, -22.89, 35.56)
CIE-LCHlch(33.46, 42.29, 122.77°)
OKLaboklab(41.86% -0.0653 0.0788)
OKLCHoklch(41.86% 0.102 129.6)
XYZxyz(5.2393, 7.7503, 1.6717)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A570F #2C0F57
analogous
#57500F #3A570F #16570F
triadic
#3A570F #0F3A57 #570F3A
tetradic
#3A570F #0F5750 #2C0F57 #570F16
square
#3A570F #0F5750 #2C0F57 #570F16
split-complementary
#3A570F #0F1657 #500F57
monochromatic
#111A05 #172306 #3A570F #5D8B18 #80BF21

Accessibility & contrast

On white

8.24
#3A570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A570F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A570F#FFFFFF#000000##FFFFFF
##3A570F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5001
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#3C5349
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a570f;
/* rgb */ color: rgb(58, 87, 15);
/* oklch */ color: oklch(41.9% 0.102 129.6);
Tailwind
colors: {
  custom: {
    50: '#738654',
    500: '#3a570f',
    950: '#000000',
  },
}
SCSS
$custom: #3a570f;
$custom-light: #738654;
$custom-dark: #000000;
JSON
{
  "hex": "#3a570f",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 84.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.10238,
    "h": 129.6
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#3A570F
secondary
#583191
accent
#3AED83
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A570F

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

Preview Lab → · Contrast checker → · Palette generator →

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