#3A5213#3A5213

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

Color values

HEX#3A5213
RGBrgb(58, 82, 19)
HSLhsl(83, 62%, 20%)
HSVhsv(83, 77%, 32%)
CMYKcmyk(29.3%, 0%, 76.8%, 67.8%)
CIE-LABlab(31.76, -20.04, 32.30)
CIE-LCHlch(31.76, 38.02, 121.82°)
OKLaboklab(40.5% -0.0572 0.0727)
OKLCHoklch(40.5% 0.093 128.2)
XYZxyz(4.8798, 6.9810, 1.7063)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5213 #2B1352
analogous
#524B13 #3A5213 #1B5213
triadic
#3A5213 #133A52 #52133A
tetradic
#3A5213 #13524B #2B1352 #52131B
square
#3A5213 #13524B #2B1352 #52131B
split-complementary
#3A5213 #131B52 #4B1352
monochromatic
#121906 #172007 #3A5213 #5D841F #80B52A

Accessibility & contrast

On white

8.76
#3A5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5213
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5213#FFFFFF#000000##FFFFFF
##3A52131.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C09
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#3C4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a5213;
/* rgb */ color: rgb(58, 82, 19);
/* oklch */ color: oklch(40.5% 0.093 128.2);
Tailwind
colors: {
  custom: {
    50: '#738255',
    500: '#3a5213',
    950: '#000000',
  },
}
SCSS
$custom: #3a5213;
$custom-light: #738255;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5213",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 82.857,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.09252,
    "h": 128.2
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#3A5213
secondary
#56368A
accent
#42E580
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5213

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

Preview Lab → · Contrast checker → · Palette generator →

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