#396617#396617

#396617 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.119 H 134.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#396617
RGBrgb(57, 102, 23)
HSLhsl(94, 63%, 25%)
HSVhsv(94, 77%, 40%)
CMYKcmyk(44.1%, 0%, 77.5%, 60%)
CIE-LABlab(38.61, -29.95, 37.49)
CIE-LCHlch(38.61, 47.98, 128.62°)
OKLaboklab(46.08% -0.0837 0.0842)
OKLCHoklch(46.08% 0.119 134.8)
XYZxyz(6.5932, 10.4341, 2.4770)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396617 #441766
analogous
#616617 #396617 #17661C
triadic
#396617 #173966 #661739
tetradic
#396617 #176166 #441766 #661C17
square
#396617 #176166 #441766 #661C17
split-complementary
#396617 #1C1766 #661761
monochromatic
#0E1906 #1D340C #396617 #559822 #71CA2E

Accessibility & contrast

On white

6.80
#396617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#396617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396617
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396617#FFFFFF#000000##FFFFFF
##3966171.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#386257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #396617;
/* rgb */ color: rgb(57, 102, 23);
/* oklch */ color: oklch(46.1% 0.119 134.8);
Tailwind
colors: {
  custom: {
    50: '#74925a',
    500: '#396617',
    950: '#000000',
  },
}
SCSS
$custom: #396617;
$custom-light: #74925a;
$custom-dark: #000000;
JSON
{
  "hex": "#396617",
  "rgb": {
    "r": 57,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 94.177,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.11877,
    "h": 134.8
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#396617
secondary
#733C9C
accent
#42E69F
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #396617

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

Preview Lab → · Contrast checker → · Palette generator →

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