#3A522D#3A522D

#3A522D is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.9% C 0.066 H 135.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3A522D
RGBrgb(58, 82, 45)
HSLhsl(99, 29%, 25%)
HSVhsv(99, 45%, 32%)
CMYKcmyk(29.3%, 0%, 45.1%, 67.8%)
CIE-LABlab(32.09, -17.02, 18.83)
CIE-LCHlch(32.09, 25.38, 132.12°)
OKLaboklab(40.86% -0.0466 0.0462)
OKLCHoklch(40.86% 0.066 135.3)
XYZxyz(5.2357, 7.1234, 3.5812)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A522D #452D52
analogous
#4D522D #3A522D #2D5233
triadic
#3A522D #2D3A52 #522D3A
tetradic
#3A522D #2D4D52 #452D52 #52332D
square
#3A522D #2D4D52 #452D52 #52332D
split-complementary
#3A522D #332D52 #522D4D
monochromatic
#0E140B #1E2A17 #3A522D #567A43 #72A158

Accessibility & contrast

On white

8.66
#3A522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A522D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A522D#FFFFFF#000000##FFFFFF
##3A522D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#514B2F
Tritanopia (blue-blind)
#3A4F49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a522d;
/* rgb */ color: rgb(58, 82, 45);
/* oklch */ color: oklch(40.9% 0.066 135.3);
Tailwind
colors: {
  custom: {
    50: '#718266',
    500: '#3a522d',
    950: '#000000',
  },
}
SCSS
$custom: #3a522d;
$custom-light: #718266;
$custom-dark: #000000;
JSON
{
  "hex": "#3a522d",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 98.919,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.06565,
    "h": 135.3
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#3A522D
secondary
#745784
accent
#62C5A3
background
#F6F8F6
surface
#ECEFEB
border
#C7CAC6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #3A522D

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

Preview Lab → · Contrast checker → · Palette generator →

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