#396916#396916

#396916 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.123 H 135.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#396916
RGBrgb(57, 105, 22)
HSLhsl(95, 65%, 25%)
HSVhsv(95, 79%, 41%)
CMYKcmyk(45.7%, 0%, 79%, 58.8%)
CIE-LABlab(39.63, -31.38, 38.88)
CIE-LCHlch(39.63, 49.96, 128.90°)
OKLaboklab(46.91% -0.0876 0.087)
OKLCHoklch(46.91% 0.124 135.2)
XYZxyz(6.8836, 11.0305, 2.5253)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396916 #461669
analogous
#626916 #396916 #16691D
triadic
#396916 #163969 #691639
tetradic
#396916 #166269 #461669 #691D16
square
#396916 #166269 #461669 #691D16
split-complementary
#396916 #1D1669 #691662
monochromatic
#0E1905 #1E360B #396916 #549C21 #70CE2B

Accessibility & contrast

On white

6.55
#396916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#396916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396916
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396916#FFFFFF#000000##FFFFFF
##3969161.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#386559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396916;
/* rgb */ color: rgb(57, 105, 22);
/* oklch */ color: oklch(46.9% 0.123 135.2);
Tailwind
colors: {
  custom: {
    50: '#74945a',
    500: '#396916',
    950: '#000000',
  },
}
SCSS
$custom: #396916;
$custom-light: #74945a;
$custom-dark: #000000;
JSON
{
  "hex": "#396916",
  "rgb": {
    "r": 57,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 94.699,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4691,
    "c": 0.1235,
    "h": 135.2
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#396916
secondary
#753B9F
accent
#3FE8A1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396916

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

Preview Lab → · Contrast checker → · Palette generator →

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