#3A5716#3A5716

#3A5716 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.098 H 130.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3A5716
RGBrgb(58, 87, 22)
HSLhsl(87, 60%, 21%)
HSVhsv(87, 75%, 34%)
CMYKcmyk(33.3%, 0%, 74.7%, 65.9%)
CIE-LABlab(33.51, -22.40, 32.76)
CIE-LCHlch(33.51, 39.69, 124.36°)
OKLaboklab(41.92% -0.0634 0.0742)
OKLCHoklch(41.92% 0.098 130.5)
XYZxyz(5.2979, 7.7737, 1.9802)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5716 #331657
analogous
#575416 #3A5716 #1A5716
triadic
#3A5716 #163A57 #57163A
tetradic
#3A5716 #165754 #331657 #57161A
square
#3A5716 #165754 #331657 #57161A
split-complementary
#3A5716 #161A57 #541657
monochromatic
#101806 #19260A #3A5716 #5B8822 #7BB92F

Accessibility & contrast

On white

8.22
#3A5716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A5716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5716
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5716#FFFFFF#000000##FFFFFF
##3A57161.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500C
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#3B534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a5716;
/* rgb */ color: rgb(58, 87, 22);
/* oklch */ color: oklch(41.9% 0.098 130.5);
Tailwind
colors: {
  custom: {
    50: '#738658',
    500: '#3a5716',
    950: '#000000',
  },
}
SCSS
$custom: #3a5716;
$custom-light: #738658;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5716",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 86.769,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.09755,
    "h": 130.5
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#3A5716
secondary
#603A8E
accent
#45E38B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5716

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

Preview Lab → · Contrast checker → · Palette generator →

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