#396820#396820

#396820 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.7% C 0.115 H 136.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#396820
RGBrgb(57, 104, 32)
HSLhsl(99, 53%, 27%)
HSVhsv(99, 69%, 41%)
CMYKcmyk(45.2%, 0%, 69.2%, 59.2%)
CIE-LABlab(39.37, -30.09, 34.38)
CIE-LCHlch(39.37, 45.69, 131.20°)
OKLaboklab(46.72% -0.0834 0.0791)
OKLCHoklch(46.72% 0.115 136.5)
XYZxyz(6.8982, 10.8744, 3.1017)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396820 #4F2068
analogous
#5D6820 #396820 #20682B
triadic
#396820 #203968 #682039
tetradic
#396820 #205D68 #4F2068 #682B20
square
#396820 #205D68 #4F2068 #682B20
split-complementary
#396820 #2B2068 #68205D
monochromatic
#0D1707 #1F3912 #396820 #53972E #6DC43F

Accessibility & contrast

On white

6.61
#396820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#396820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396820
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396820#FFFFFF#000000##FFFFFF
##3968201.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F17
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#376459
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396820;
/* rgb */ color: rgb(57, 104, 32);
/* oklch */ color: oklch(46.7% 0.115 136.5);
Tailwind
colors: {
  custom: {
    50: '#74935f',
    500: '#396820',
    950: '#000000',
  },
}
SCSS
$custom: #396820;
$custom-light: #74935f;
$custom-dark: #000000;
JSON
{
  "hex": "#396820",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 99.167,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.11491,
    "h": 136.5
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#396820
secondary
#7F489C
accent
#4BDCAA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #396820

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

Preview Lab → · Contrast checker → · Palette generator →

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