#396E17#396E17

#396E17 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.130 H 136.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#396E17
RGBrgb(57, 110, 23)
HSLhsl(97, 65%, 26%)
HSVhsv(97, 79%, 43%)
CMYKcmyk(48.2%, 0%, 79.1%, 56.9%)
CIE-LABlab(41.35, -33.52, 40.18)
CIE-LCHlch(41.35, 52.33, 129.83°)
OKLaboklab(48.32% -0.0933 0.0899)
OKLCHoklch(48.32% 0.13 136.1)
XYZxyz(7.4177, 12.0831, 2.7519)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396E17 #4C176E
analogous
#646E17 #396E17 #176E20
triadic
#396E17 #17396E #6E1739
tetradic
#396E17 #17646E #4C176E #6E2017
square
#396E17 #17646E #4C176E #6E2017
split-complementary
#396E17 #20176E #6E1764
monochromatic
#0D1905 #1F3B0C #396E17 #53A122 #6ED32C

Accessibility & contrast

On white

6.15
#396E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#396E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396E17
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396E17#FFFFFF#000000##FFFFFF
##396E171.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#376A5D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396e17;
/* rgb */ color: rgb(57, 110, 23);
/* oklch */ color: oklch(48.3% 0.130 136.1);
Tailwind
colors: {
  custom: {
    50: '#75985b',
    500: '#396e17',
    950: '#000000',
  },
}
SCSS
$custom: #396e17;
$custom-light: #75985b;
$custom-dark: #000000;
JSON
{
  "hex": "#396e17",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 96.552,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.12959,
    "h": 136.1
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#396E17
secondary
#7C3DA4
accent
#3FE8A6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396E17

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

Preview Lab → · Contrast checker → · Palette generator →

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