#3A5215#3A5215

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

Color values

HEX#3A5215
RGBrgb(58, 82, 21)
HSLhsl(84, 59%, 20%)
HSVhsv(84, 74%, 32%)
CMYKcmyk(29.3%, 0%, 74.4%, 67.8%)
CIE-LABlab(31.78, -19.89, 31.43)
CIE-LCHlch(31.78, 37.19, 122.33°)
OKLaboklab(40.51% -0.0566 0.0712)
OKLCHoklch(40.51% 0.091 128.5)
XYZxyz(4.8976, 6.9882, 1.8001)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5215 #2D1552
analogous
#524C15 #3A5215 #1B5215
triadic
#3A5215 #153A52 #52153A
tetradic
#3A5215 #15524C #2D1552 #52151B
square
#3A5215 #15524C #2D1552 #52151B
split-complementary
#3A5215 #151B52 #4C1552
monochromatic
#111806 #182109 #3A5215 #5C8321 #7FB32E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A5215#FFFFFF#000000##FFFFFF
##3A52151.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)
#564C0C
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#3C4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a5215;
/* rgb */ color: rgb(58, 82, 21);
/* oklch */ color: oklch(40.5% 0.091 128.5);
Tailwind
colors: {
  custom: {
    50: '#738256',
    500: '#3a5215',
    950: '#000000',
  },
}
SCSS
$custom: #3a5215;
$custom-light: #738256;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5215",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 83.607,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.09096,
    "h": 128.5
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#3A5215
secondary
#59398A
accent
#45E283
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5215

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

Preview Lab → · Contrast checker → · Palette generator →

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