#396D16#396D16

#396D16 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.129 H 135.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#396D16
RGBrgb(57, 109, 22)
HSLhsl(96, 66%, 26%)
HSVhsv(96, 80%, 43%)
CMYKcmyk(47.7%, 0%, 79.8%, 57.3%)
CIE-LABlab(41.00, -33.15, 40.21)
CIE-LCHlch(41.00, 52.11, 129.50°)
OKLaboklab(48.03% -0.0924 0.0898)
OKLCHoklch(48.03% 0.129 135.8)
XYZxyz(7.3006, 11.8646, 2.6643)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396D16 #4A166D
analogous
#646D16 #396D16 #166D1E
triadic
#396D16 #16396D #6D1639
tetradic
#396D16 #16646D #4A166D #6D1E16
square
#396D16 #16646D #4A166D #6D1E16
split-complementary
#396D16 #1E166D #6D1664
monochromatic
#0D1905 #1E3A0C #396D16 #54A020 #6ED32B

Accessibility & contrast

On white

6.23
#396D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#396D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396D16
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396D16#FFFFFF#000000##FFFFFF
##396D161.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#37695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #396d16;
/* rgb */ color: rgb(57, 109, 22);
/* oklch */ color: oklch(48.0% 0.129 135.8);
Tailwind
colors: {
  custom: {
    50: '#75975b',
    500: '#396d16',
    950: '#000000',
  },
}
SCSS
$custom: #396d16;
$custom-light: #75975b;
$custom-dark: #000000;
JSON
{
  "hex": "#396d16",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 95.862,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.12886,
    "h": 135.8
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#396D16
secondary
#7A3CA3
accent
#3EE9A5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396D16

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

Preview Lab → · Contrast checker → · Palette generator →

#396D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva