#396C17#396C17

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

Color values

HEX#396C17
RGBrgb(57, 108, 23)
HSLhsl(96, 65%, 26%)
HSVhsv(96, 79%, 42%)
CMYKcmyk(47.2%, 0%, 78.7%, 57.6%)
CIE-LABlab(40.66, -32.64, 39.52)
CIE-LCHlch(40.66, 51.25, 129.56°)
OKLaboklab(47.76% -0.091 0.0885)
OKLCHoklch(47.76% 0.127 135.8)
XYZxyz(7.2044, 11.6564, 2.6807)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C17 #4A176C
analogous
#636C17 #396C17 #176C1F
triadic
#396C17 #17396C #6C1739
tetradic
#396C17 #17636C #4A176C #6C1F17
square
#396C17 #17636C #4A176C #6C1F17
split-complementary
#396C17 #1F176C #6C1763
monochromatic
#0D1905 #1E3A0C #396C17 #549E22 #6ED12C

Accessibility & contrast

On white

6.30
#396C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #396C17
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396C17#FFFFFF#000000##FFFFFF
##396C171.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #396c17;
/* rgb */ color: rgb(57, 108, 23);
/* oklch */ color: oklch(47.8% 0.127 135.8);
Tailwind
colors: {
  custom: {
    50: '#75965b',
    500: '#396c17',
    950: '#000000',
  },
}
SCSS
$custom: #396c17;
$custom-light: #75965b;
$custom-dark: #000000;
JSON
{
  "hex": "#396c17",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 96,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.12692,
    "h": 135.8
  },
  "luminance": 0.11657
}

Semantic roles & 50–950 ramp

primary
#396C17
secondary
#7A3DA2
accent
#40E8A5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C17

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

Preview Lab → · Contrast checker → · Palette generator →

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