#3A511D#3A511D

#3A511D is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.082 H 129.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3A511D
RGBrgb(58, 81, 29)
HSLhsl(87, 47%, 22%)
HSVhsv(87, 64%, 32%)
CMYKcmyk(28.4%, 0%, 64.2%, 68.2%)
CIE-LABlab(31.52, -18.61, 27.20)
CIE-LCHlch(31.52, 32.96, 124.37°)
OKLaboklab(40.33% -0.0523 0.0634)
OKLCHoklch(40.33% 0.082 129.5)
XYZxyz(4.9091, 6.8730, 2.2301)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A511D #341D51
analogous
#514E1D #3A511D #20511D
triadic
#3A511D #1D3A51 #511D3A
tetradic
#3A511D #1D514E #341D51 #511D20
square
#3A511D #1D514E #341D51 #511D20
split-complementary
#3A511D #1D2051 #4E1D51
monochromatic
#101708 #1A240D #3A511D #5A7E2D #7BAB3D

Accessibility & contrast

On white

8.84
#3A511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3A511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A511D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A511D#FFFFFF#000000##FFFFFF
##3A511D1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B17
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#3C4D46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a511d;
/* rgb */ color: rgb(58, 81, 29);
/* oklch */ color: oklch(40.3% 0.082 129.5);
Tailwind
colors: {
  custom: {
    50: '#72825b',
    500: '#3a511d',
    950: '#000000',
  },
}
SCSS
$custom: #3a511d;
$custom-light: #72825b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a511d",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 86.538,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.08218,
    "h": 129.5
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#3A511D
secondary
#614486
accent
#51D78C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A511D

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

Preview Lab → · Contrast checker → · Palette generator →

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