#396217#396217

#396217 is a dark, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.0% C 0.113 H 134.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#396217
RGBrgb(57, 98, 23)
HSLhsl(93, 62%, 24%)
HSVhsv(93, 77%, 38%)
CMYKcmyk(41.8%, 0%, 76.5%, 61.6%)
CIE-LABlab(37.24, -28.09, 36.11)
CIE-LCHlch(37.24, 45.75, 127.88°)
OKLaboklab(44.95% -0.0787 0.0814)
OKLCHoklch(44.95% 0.113 134)
XYZxyz(6.2096, 9.6668, 2.3491)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396217 #401762
analogous
#5E6217 #396217 #17621A
triadic
#396217 #173962 #621739
tetradic
#396217 #175E62 #401762 #621A17
square
#396217 #175E62 #401762 #621A17
split-complementary
#396217 #1A1762 #62175E
monochromatic
#0E1906 #1C300B #396217 #569423 #73C52E

Accessibility & contrast

On white

7.16
#396217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#396217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396217
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396217#FFFFFF#000000##FFFFFF
##3962171.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#395E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396217;
/* rgb */ color: rgb(57, 98, 23);
/* oklch */ color: oklch(45.0% 0.113 134.0);
Tailwind
colors: {
  custom: {
    50: '#738f59',
    500: '#396217',
    950: '#000000',
  },
}
SCSS
$custom: #396217;
$custom-light: #738f59;
$custom-dark: #000000;
JSON
{
  "hex": "#396217",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 92.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.1132,
    "h": 134
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#396217
secondary
#6F3C99
accent
#43E59B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396217

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

Preview Lab → · Contrast checker → · Palette generator →

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