#396216#396216

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

Color values

HEX#396216
RGBrgb(57, 98, 22)
HSLhsl(92, 63%, 24%)
HSVhsv(92, 78%, 38%)
CMYKcmyk(41.8%, 0%, 77.6%, 61.6%)
CIE-LABlab(37.23, -28.17, 36.51)
CIE-LCHlch(37.23, 46.12, 127.65°)
OKLaboklab(44.94% -0.079 0.082)
OKLCHoklch(44.94% 0.114 133.9)
XYZxyz(6.1997, 9.6628, 2.2973)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396216 #3F1662
analogous
#5F6216 #396216 #166219
triadic
#396216 #163962 #621639
tetradic
#396216 #165F62 #3F1662 #621916
square
#396216 #165F62 #3F1662 #621916
split-complementary
#396216 #191662 #62165F
monochromatic
#0F1906 #1C300B #396216 #569421 #73C62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396216#FFFFFF#000000##FFFFFF
##3962161.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)
#665A08
Deuteranopia (green-blind)
#61561D
Tritanopia (blue-blind)
#395E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396216;
/* rgb */ color: rgb(57, 98, 22);
/* oklch */ color: oklch(44.9% 0.114 133.9);
Tailwind
colors: {
  custom: {
    50: '#738f59',
    500: '#396216',
    950: '#000000',
  },
}
SCSS
$custom: #396216;
$custom-light: #738f59;
$custom-dark: #000000;
JSON
{
  "hex": "#396216",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 92.368,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.11389,
    "h": 133.9
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#396216
secondary
#6E3B99
accent
#41E69A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396216

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

Preview Lab → · Contrast checker → · Palette generator →

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