#396C16#396C16

#396C16 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.128 H 135.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#396C16
RGBrgb(57, 108, 22)
HSLhsl(96, 66%, 25%)
HSVhsv(96, 80%, 42%)
CMYKcmyk(47.2%, 0%, 79.6%, 57.6%)
CIE-LABlab(40.66, -32.71, 39.88)
CIE-LCHlch(40.66, 51.58, 129.36°)
OKLaboklab(47.75% -0.0912 0.0891)
OKLCHoklch(47.75% 0.128 135.7)
XYZxyz(7.1945, 11.6525, 2.6290)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C16 #49166C
analogous
#646C16 #396C16 #166C1E
triadic
#396C16 #16396C #6C1639
tetradic
#396C16 #16646C #49166C #6C1E16
square
#396C16 #16646C #49166C #6C1E16
split-complementary
#396C16 #1E166C #6C1664
monochromatic
#0D1905 #1E390C #396C16 #549F20 #6FD22B

Accessibility & contrast

On white

6.31
#396C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#396C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396C16
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396C16#FFFFFF#000000##FFFFFF
##396C161.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706204
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#37685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c16;
/* rgb */ color: rgb(57, 108, 22);
/* oklch */ color: oklch(47.8% 0.128 135.7);
Tailwind
colors: {
  custom: {
    50: '#75965a',
    500: '#396c16',
    950: '#000000',
  },
}
SCSS
$custom: #396c16;
$custom-light: #75965a;
$custom-dark: #000000;
JSON
{
  "hex": "#396c16",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 95.581,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47752,
    "c": 0.12753,
    "h": 135.7
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#396C16
secondary
#783CA2
accent
#3FE9A4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C16

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

Preview Lab → · Contrast checker → · Palette generator →

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