#396716#396716

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

Color values

HEX#396716
RGBrgb(57, 103, 22)
HSLhsl(94, 65%, 25%)
HSVhsv(94, 79%, 40%)
CMYKcmyk(44.7%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.95, -30.48, 38.21)
CIE-LCHlch(38.95, 48.87, 128.58°)
OKLaboklab(46.35% -0.0852 0.0856)
OKLCHoklch(46.35% 0.121 134.9)
XYZxyz(6.6823, 10.6279, 2.4582)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396716 #441667
analogous
#626716 #396716 #16671C
triadic
#396716 #163967 #671639
tetradic
#396716 #166267 #441667 #671C16
square
#396716 #166267 #441667 #671C16
split-complementary
#396716 #1C1667 #671662
monochromatic
#0E1905 #1D350B #396716 #559921 #71CC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396716#FFFFFF#000000##FFFFFF
##3967161.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)
#6B5E06
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#386357
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #396716;
/* rgb */ color: rgb(57, 103, 22);
/* oklch */ color: oklch(46.3% 0.121 134.9);
Tailwind
colors: {
  custom: {
    50: '#74935a',
    500: '#396716',
    950: '#000000',
  },
}
SCSS
$custom: #396716;
$custom-light: #74935a;
$custom-dark: #000000;
JSON
{
  "hex": "#396716",
  "rgb": {
    "r": 57,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 94.074,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.12078,
    "h": 134.9
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#396716
secondary
#733B9E
accent
#40E89F
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396716

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

Preview Lab → · Contrast checker → · Palette generator →

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