#396917#396917

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

Color values

HEX#396917
RGBrgb(57, 105, 23)
HSLhsl(95, 64%, 25%)
HSVhsv(95, 78%, 41%)
CMYKcmyk(45.7%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.64, -31.31, 38.51)
CIE-LCHlch(39.64, 49.63, 129.11°)
OKLaboklab(46.92% -0.0874 0.0864)
OKLCHoklch(46.92% 0.123 135.3)
XYZxyz(6.8934, 11.0345, 2.5771)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396917 #471769
analogous
#626917 #396917 #17691E
triadic
#396917 #173969 #691739
tetradic
#396917 #176269 #471769 #691E17
square
#396917 #176269 #471769 #691E17
split-complementary
#396917 #1E1769 #691762
monochromatic
#0E1905 #1E370C #396917 #549B22 #70CD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396917#FFFFFF#000000##FFFFFF
##3969171.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)
#6D6007
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#386559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396917;
/* rgb */ color: rgb(57, 105, 23);
/* oklch */ color: oklch(46.9% 0.123 135.3);
Tailwind
colors: {
  custom: {
    50: '#74945a',
    500: '#396917',
    950: '#000000',
  },
}
SCSS
$custom: #396917;
$custom-light: #74945a;
$custom-dark: #000000;
JSON
{
  "hex": "#396917",
  "rgb": {
    "r": 57,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 95.122,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.12287,
    "h": 135.3
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#396917
secondary
#763D9F
accent
#41E7A2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396917

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

Preview Lab → · Contrast checker → · Palette generator →

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