#396020#396020

#396020 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.103 H 135.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#396020
RGBrgb(57, 96, 32)
HSLhsl(97, 50%, 25%)
HSVhsv(97, 67%, 38%)
CMYKcmyk(40.6%, 0%, 66.7%, 62.4%)
CIE-LABlab(36.63, -26.33, 31.39)
CIE-LCHlch(36.63, 40.97, 129.99°)
OKLaboklab(44.48% -0.0732 0.0727)
OKLCHoklch(44.48% 0.103 135.2)
XYZxyz(6.1308, 9.3396, 2.8459)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396020 #472060
analogous
#596020 #396020 #206027
triadic
#396020 #203960 #602039
tetradic
#396020 #205960 #472060 #602720
square
#396020 #205960 #472060 #602720
split-complementary
#396020 #272060 #602059
monochromatic
#0E1708 #1E3211 #396020 #548E2F #70BC3F

Accessibility & contrast

On white

7.32
#396020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#396020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396020
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396020#FFFFFF#000000##FFFFFF
##3960201.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645818
Deuteranopia (green-blind)
#5E5525
Tritanopia (blue-blind)
#385C53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #396020;
/* rgb */ color: rgb(57, 96, 32);
/* oklch */ color: oklch(44.5% 0.103 135.2);
Tailwind
colors: {
  custom: {
    50: '#738d5e',
    500: '#396020',
    950: '#000000',
  },
}
SCSS
$custom: #396020;
$custom-light: #738d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#396020",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 96.563,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.10315,
    "h": 135.2
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#396020
secondary
#764794
accent
#4EDAA3
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396020

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

Preview Lab → · Contrast checker → · Palette generator →

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