#396F17#396F17

#396F17 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.131 H 136.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#396F17
RGBrgb(57, 111, 23)
HSLhsl(97, 66%, 26%)
HSVhsv(97, 79%, 44%)
CMYKcmyk(48.6%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.69, -33.95, 40.52)
CIE-LCHlch(41.69, 52.86, 129.96°)
OKLaboklab(48.6% -0.0945 0.0906)
OKLCHoklch(48.6% 0.131 136.2)
XYZxyz(7.5262, 12.3001, 2.7880)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396F17 #4D176F
analogous
#656F17 #396F17 #176F21
triadic
#396F17 #17396F #6F1739
tetradic
#396F17 #17656F #4D176F #6F2117
square
#396F17 #17656F #4D176F #6F2117
split-complementary
#396F17 #21176F #6F1765
monochromatic
#0D1905 #1F3C0C #396F17 #53A222 #6DD32D

Accessibility & contrast

On white

6.07
#396F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#396F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396F17
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396F17#FFFFFF#000000##FFFFFF
##396F171.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#376B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396f17;
/* rgb */ color: rgb(57, 111, 23);
/* oklch */ color: oklch(48.6% 0.131 136.2);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#396f17',
    950: '#000000',
  },
}
SCSS
$custom: #396f17;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#396f17",
  "rgb": {
    "r": 57,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 96.818,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.13091,
    "h": 136.2
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#396F17
secondary
#7D3DA5
accent
#3FE9A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #396F17

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

Preview Lab → · Contrast checker → · Palette generator →

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