#3A511C#3A511C

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

Color values

HEX#3A511C
RGBrgb(58, 81, 28)
HSLhsl(86, 49%, 21%)
HSVhsv(86, 65%, 32%)
CMYKcmyk(28.4%, 0%, 65.4%, 68.2%)
CIE-LABlab(31.50, -18.71, 27.71)
CIE-LCHlch(31.50, 33.44, 124.03°)
OKLaboklab(40.31% -0.0527 0.0644)
OKLCHoklch(40.31% 0.083 129.3)
XYZxyz(4.8969, 6.8681, 2.1661)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A511C #331C51
analogous
#514E1C #3A511C #20511C
triadic
#3A511C #1C3A51 #511C3A
tetradic
#3A511C #1C514E #331C51 #511C20
square
#3A511C #1C514E #331C51 #511C20
split-complementary
#3A511C #1C2051 #4E1C51
monochromatic
#101708 #19240C #3A511C #5B7E2C #7BAC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A511C#FFFFFF#000000##FFFFFF
##3A511C1.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)
#554B16
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#3C4D46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a511c;
/* rgb */ color: rgb(58, 81, 28);
/* oklch */ color: oklch(40.3% 0.083 129.3);
Tailwind
colors: {
  custom: {
    50: '#72825a',
    500: '#3a511c',
    950: '#000000',
  },
}
SCSS
$custom: #3a511c;
$custom-light: #72825a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a511c",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 86.038,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40313,
    "c": 0.08317,
    "h": 129.3
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#3A511C
secondary
#604287
accent
#50D88B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A511C

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

Preview Lab → · Contrast checker → · Palette generator →

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