#3A511E#3A511E

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

Color values

HEX#3A511E
RGBrgb(58, 81, 30)
HSLhsl(87, 46%, 22%)
HSVhsv(87, 63%, 32%)
CMYKcmyk(28.4%, 0%, 63%, 68.2%)
CIE-LABlab(31.53, -18.50, 26.69)
CIE-LCHlch(31.53, 32.47, 124.72°)
OKLaboklab(40.34% -0.0519 0.0624)
OKLCHoklch(40.34% 0.081 129.7)
XYZxyz(4.9217, 6.8780, 2.2963)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A511E #351E51
analogous
#514F1E #3A511E #21511E
triadic
#3A511E #1E3A51 #511E3A
tetradic
#3A511E #1E514F #351E51 #511E21
square
#3A511E #1E514F #351E51 #511E21
split-complementary
#3A511E #1E2151 #4F1E51
monochromatic
#101608 #1A240D #3A511E #5A7E2F #7AAA3F

Accessibility & contrast

On white

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

On black

2.38
#3A511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A511E#FFFFFF#000000##FFFFFF
##3A511E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a511e;
/* rgb */ color: rgb(58, 81, 30);
/* oklch */ color: oklch(40.3% 0.081 129.7);
Tailwind
colors: {
  custom: {
    50: '#72825c',
    500: '#3a511e',
    950: '#000000',
  },
}
SCSS
$custom: #3a511e;
$custom-light: #72825c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a511e",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 87.059,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.08117,
    "h": 129.7
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#3A511E
secondary
#624586
accent
#52D68D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A511E

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

Preview Lab → · Contrast checker → · Palette generator →

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