#3A5210#3A5210

#3A5210 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.095 H 127.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3A5210
RGBrgb(58, 82, 16)
HSLhsl(82, 67%, 19%)
HSVhsv(82, 80%, 32%)
CMYKcmyk(29.3%, 0%, 80.5%, 67.8%)
CIE-LABlab(31.74, -20.26, 33.53)
CIE-LCHlch(31.74, 39.18, 121.14°)
OKLaboklab(40.47% -0.0581 0.0748)
OKLCHoklch(40.47% 0.095 127.8)
XYZxyz(4.8557, 6.9714, 1.5799)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5210 #281052
analogous
#524910 #3A5210 #195210
triadic
#3A5210 #103A52 #52103A
tetradic
#3A5210 #105249 #281052 #521019
square
#3A5210 #105249 #281052 #521019
split-complementary
#3A5210 #101952 #491052
monochromatic
#121A05 #161F06 #3A5210 #5E851A #82B824

Accessibility & contrast

On white

8.77
#3A5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3A5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5210
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5210#FFFFFF#000000##FFFFFF
##3A52101.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#3C4E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a5210;
/* rgb */ color: rgb(58, 82, 16);
/* oklch */ color: oklch(40.5% 0.095 127.8);
Tailwind
colors: {
  custom: {
    50: '#738254',
    500: '#3a5210',
    950: '#000000',
  },
}
SCSS
$custom: #3a5210;
$custom-light: #738254;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5210",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 81.818,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.09467,
    "h": 127.8
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#3A5210
secondary
#53328C
accent
#3EEA7C
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5210

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

Preview Lab → · Contrast checker → · Palette generator →

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