#396717#396717

#396717 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.120 H 135.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#396717
RGBrgb(57, 103, 23)
HSLhsl(95, 63%, 25%)
HSVhsv(95, 78%, 40%)
CMYKcmyk(44.7%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.95, -30.40, 37.83)
CIE-LCHlch(38.95, 48.53, 128.79°)
OKLaboklab(46.36% -0.0849 0.085)
OKLCHoklch(46.36% 0.12 135)
XYZxyz(6.6921, 10.6318, 2.5100)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396717 #451767
analogous
#616717 #396717 #17671D
triadic
#396717 #173967 #671739
tetradic
#396717 #176167 #451767 #671D17
square
#396717 #176167 #451767 #671D17
split-complementary
#396717 #1D1767 #671761
monochromatic
#0E1906 #1D350C #396717 #559922 #70CB2D

Accessibility & contrast

On white

6.72
#396717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#396717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396717
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396717#FFFFFF#000000##FFFFFF
##3967171.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#386358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #396717;
/* rgb */ color: rgb(57, 103, 23);
/* oklch */ color: oklch(46.4% 0.120 135.0);
Tailwind
colors: {
  custom: {
    50: '#74935a',
    500: '#396717',
    950: '#000000',
  },
}
SCSS
$custom: #396717;
$custom-light: #74935a;
$custom-dark: #000000;
JSON
{
  "hex": "#396717",
  "rgb": {
    "r": 57,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 94.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.12014,
    "h": 135
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#396717
secondary
#743D9D
accent
#41E7A0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #396717

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

Preview Lab → · Contrast checker → · Palette generator →

#396717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva