#3A520F#3A520F

#3A520F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.095 H 127.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3A520F
RGBrgb(58, 82, 15)
HSLhsl(81, 69%, 19%)
HSVhsv(81, 82%, 32%)
CMYKcmyk(29.3%, 0%, 81.7%, 67.8%)
CIE-LABlab(31.74, -20.32, 33.92)
CIE-LCHlch(31.74, 39.54, 120.93°)
OKLaboklab(40.46% -0.0583 0.0754)
OKLCHoklch(40.46% 0.095 127.7)
XYZxyz(4.8484, 6.9685, 1.5415)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A520F #270F52
analogous
#52490F #3A520F #19520F
triadic
#3A520F #0F3A52 #520F3A
tetradic
#3A520F #0F5249 #270F52 #520F19
square
#3A520F #0F5249 #270F52 #520F19
split-complementary
#3A520F #0F1952 #490F52
monochromatic
#121A05 #151E06 #3A520F #5F8618 #83B922

Accessibility & contrast

On white

8.77
#3A520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3A520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A520F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A520F#FFFFFF#000000##FFFFFF
##3A520F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#3C4E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a520f;
/* rgb */ color: rgb(58, 82, 15);
/* oklch */ color: oklch(40.5% 0.095 127.7);
Tailwind
colors: {
  custom: {
    50: '#738253',
    500: '#3a520f',
    950: '#000000',
  },
}
SCSS
$custom: #3a520f;
$custom-light: #738253;
$custom-dark: #000000;
JSON
{
  "hex": "#3a520f",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 81.493,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40464,
    "c": 0.09533,
    "h": 127.7
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#3A520F
secondary
#51318C
accent
#3CEC7B
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A520F

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

Preview Lab → · Contrast checker → · Palette generator →

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