#3A511B#3A511B

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

Color values

HEX#3A511B
RGBrgb(58, 81, 27)
HSLhsl(86, 50%, 21%)
HSVhsv(86, 67%, 32%)
CMYKcmyk(28.4%, 0%, 66.7%, 68.2%)
CIE-LABlab(31.49, -18.81, 28.22)
CIE-LCHlch(31.49, 33.91, 123.69°)
OKLaboklab(40.3% -0.053 0.0653)
OKLCHoklch(40.3% 0.084 129.1)
XYZxyz(4.8852, 6.8634, 2.1041)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A511B #321B51
analogous
#514D1B #3A511B #1F511B
triadic
#3A511B #1B3A51 #511B3A
tetradic
#3A511B #1B514D #321B51 #511B1F
square
#3A511B #1B514D #321B51 #511B1F
split-complementary
#3A511B #1B1F51 #4D1B51
monochromatic
#101708 #19230C #3A511B #5B7F2A #7CAD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A511B#FFFFFF#000000##FFFFFF
##3A511B1.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)
#554B15
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#3C4D46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a511b;
/* rgb */ color: rgb(58, 81, 27);
/* oklch */ color: oklch(40.3% 0.084 129.1);
Tailwind
colors: {
  custom: {
    50: '#72825a',
    500: '#3a511b',
    950: '#000000',
  },
}
SCSS
$custom: #3a511b;
$custom-light: #72825a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a511b",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 85.556,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40301,
    "c": 0.08415,
    "h": 129.1
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#3A511B
secondary
#5F4187
accent
#4EDA8A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A511B

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

Preview Lab → · Contrast checker → · Palette generator →

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