#396520#396520

#396520 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.111 H 136.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#396520
RGBrgb(57, 101, 32)
HSLhsl(98, 52%, 26%)
HSVhsv(98, 68%, 40%)
CMYKcmyk(43.6%, 0%, 68.3%, 60.4%)
CIE-LABlab(38.34, -28.70, 33.27)
CIE-LCHlch(38.34, 43.94, 130.79°)
OKLaboklab(45.88% -0.0796 0.0767)
OKLCHoklch(45.88% 0.111 136.1)
XYZxyz(6.6016, 10.2811, 3.0028)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396520 #4C2065
analogous
#5B6520 #396520 #206529
triadic
#396520 #203965 #652039
tetradic
#396520 #205B65 #4C2065 #652920
square
#396520 #205B65 #4C2065 #652920
split-complementary
#396520 #292065 #65205B
monochromatic
#0D1707 #1F3711 #396520 #53932F #6EC23E

Accessibility & contrast

On white

6.87
#396520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#396520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396520
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396520#FFFFFF#000000##FFFFFF
##3965201.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D17
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#376157
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #396520;
/* rgb */ color: rgb(57, 101, 32);
/* oklch */ color: oklch(45.9% 0.111 136.1);
Tailwind
colors: {
  custom: {
    50: '#73915f',
    500: '#396520',
    950: '#000000',
  },
}
SCSS
$custom: #396520;
$custom-light: #73915f;
$custom-dark: #000000;
JSON
{
  "hex": "#396520",
  "rgb": {
    "r": 57,
    "g": 101,
    "b": 32
  },
  "hsl": {
    "h": 98.261,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.11055,
    "h": 136.1
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#396520
secondary
#7C4899
accent
#4CDBA8
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D05
muted
#7B7D79

Preview Lab

Preview with #396520

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

Preview Lab → · Contrast checker → · Palette generator →

#396520 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva