#396B17#396B17

#396B17 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.5% C 0.126 H 135.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#396B17
RGBrgb(57, 107, 23)
HSLhsl(96, 65%, 25%)
HSVhsv(96, 79%, 42%)
CMYKcmyk(46.7%, 0%, 78.5%, 58%)
CIE-LABlab(40.32, -32.20, 39.18)
CIE-LCHlch(40.32, 50.71, 129.41°)
OKLaboklab(47.48% -0.0898 0.0878)
OKLCHoklch(47.48% 0.126 135.7)
XYZxyz(7.0995, 11.4467, 2.6458)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396B17 #49176B
analogous
#636B17 #396B17 #176B1F
triadic
#396B17 #17396B #6B1739
tetradic
#396B17 #17636B #49176B #6B1F17
square
#396B17 #17636B #49176B #6B1F17
split-complementary
#396B17 #1F176B #6B1763
monochromatic
#0D1905 #1E390C #396B17 #549D22 #6FD02D

Accessibility & contrast

On white

6.38
#396B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#396B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396B17
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396B17#FFFFFF#000000##FFFFFF
##396B171.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#685E20
Tritanopia (blue-blind)
#37675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #396b17;
/* rgb */ color: rgb(57, 107, 23);
/* oklch */ color: oklch(47.5% 0.126 135.7);
Tailwind
colors: {
  custom: {
    50: '#75965b',
    500: '#396b17',
    950: '#000000',
  },
}
SCSS
$custom: #396b17;
$custom-light: #75965b;
$custom-dark: #000000;
JSON
{
  "hex": "#396b17",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 95.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.12558,
    "h": 135.7
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#396B17
secondary
#783DA1
accent
#40E8A4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396B17

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

Preview Lab → · Contrast checker → · Palette generator →

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