#3A501E#3A501E

#3A501E is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.1% C 0.080 H 129.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3A501E
RGBrgb(58, 80, 30)
HSLhsl(86, 45%, 22%)
HSVhsv(86, 63%, 31%)
CMYKcmyk(27.5%, 0%, 62.5%, 68.6%)
CIE-LABlab(31.19, -17.96, 26.30)
CIE-LCHlch(31.19, 31.84, 124.33°)
OKLaboklab(40.06% -0.0504 0.0616)
OKLCHoklch(40.06% 0.08 129.3)
XYZxyz(4.8479, 6.7305, 2.2717)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A501E #341E50
analogous
#504D1E #3A501E #21501E
triadic
#3A501E #1E3A50 #501E3A
tetradic
#3A501E #1E504D #341E50 #501E21
square
#3A501E #1E504D #341E50 #501E21
split-complementary
#3A501E #1E2150 #4D1E50
monochromatic
#101608 #1A230D #3A501E #5A7D2F #7BA93F

Accessibility & contrast

On white

8.95
#3A501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A501E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A501E#FFFFFF#000000##FFFFFF
##3A501E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A19
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#3C4D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a501e;
/* rgb */ color: rgb(58, 80, 30);
/* oklch */ color: oklch(40.1% 0.080 129.3);
Tailwind
colors: {
  custom: {
    50: '#72815c',
    500: '#3a501e',
    950: '#000000',
  },
}
SCSS
$custom: #3a501e;
$custom-light: #72815c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a501e",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 86.4,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.07957,
    "h": 129.3
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#3A501E
secondary
#614585
accent
#53D58C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A501E

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

Preview Lab → · Contrast checker → · Palette generator →

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