#3A511A#3A511A

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

Color values

HEX#3A511A
RGBrgb(58, 81, 26)
HSLhsl(85, 51%, 21%)
HSVhsv(85, 68%, 32%)
CMYKcmyk(28.4%, 0%, 67.9%, 68.2%)
CIE-LABlab(31.48, -18.91, 28.71)
CIE-LCHlch(31.48, 34.38, 123.37°)
OKLaboklab(40.29% -0.0534 0.0662)
OKLCHoklch(40.29% 0.085 128.9)
XYZxyz(4.8738, 6.8589, 2.0442)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A511A #311A51
analogous
#514C1A #3A511A #1E511A
triadic
#3A511A #1A3A51 #511A3A
tetradic
#3A511A #1A514C #311A51 #511A1E
square
#3A511A #1A514C #311A51 #511A1E
split-complementary
#3A511A #1A1E51 #4C1A51
monochromatic
#111707 #19230B #3A511A #5B7F29 #7CAE38

Accessibility & contrast

On white

8.85
#3A511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A511A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A511A#FFFFFF#000000##FFFFFF
##3A511A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B13
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#3C4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a511a;
/* rgb */ color: rgb(58, 81, 26);
/* oklch */ color: oklch(40.3% 0.085 128.9);
Tailwind
colors: {
  custom: {
    50: '#728259',
    500: '#3a511a',
    950: '#000000',
  },
}
SCSS
$custom: #3a511a;
$custom-light: #728259;
$custom-dark: #000000;
JSON
{
  "hex": "#3a511a",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 85.091,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.0851,
    "h": 128.9
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#3A511A
secondary
#5E4087
accent
#4DDB88
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A511A

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

Preview Lab → · Contrast checker → · Palette generator →

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