#396517#396517

#396517 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.117 H 134.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#396517
RGBrgb(57, 101, 23)
HSLhsl(94, 63%, 24%)
HSVhsv(94, 77%, 40%)
CMYKcmyk(43.6%, 0%, 77.2%, 60.4%)
CIE-LABlab(38.27, -29.49, 37.14)
CIE-LCHlch(38.27, 47.43, 128.45°)
OKLaboklab(45.79% -0.0825 0.0835)
OKLCHoklch(45.79% 0.117 134.6)
XYZxyz(6.4955, 10.2387, 2.4445)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396517 #431765
analogous
#606517 #396517 #17651C
triadic
#396517 #173965 #651739
tetradic
#396517 #176065 #431765 #651C17
square
#396517 #176065 #431765 #651C17
split-complementary
#396517 #1C1765 #651760
monochromatic
#0E1906 #1D330C #396517 #559722 #71C92E

Accessibility & contrast

On white

6.89
#396517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#396517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396517
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396517#FFFFFF#000000##FFFFFF
##3965171.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#386156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #396517;
/* rgb */ color: rgb(57, 101, 23);
/* oklch */ color: oklch(45.8% 0.117 134.6);
Tailwind
colors: {
  custom: {
    50: '#74915a',
    500: '#396517',
    950: '#000000',
  },
}
SCSS
$custom: #396517;
$custom-light: #74915a;
$custom-dark: #000000;
JSON
{
  "hex": "#396517",
  "rgb": {
    "r": 57,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 93.846,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.11739,
    "h": 134.6
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#396517
secondary
#723C9B
accent
#42E69E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #396517

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

Preview Lab → · Contrast checker → · Palette generator →

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