#396516#396516

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

Color values

HEX#396516
RGBrgb(57, 101, 22)
HSLhsl(93, 64%, 24%)
HSVhsv(93, 78%, 40%)
CMYKcmyk(43.6%, 0%, 78.2%, 60.4%)
CIE-LABlab(38.26, -29.56, 37.53)
CIE-LCHlch(38.26, 47.78, 128.23°)
OKLaboklab(45.79% -0.0827 0.0842)
OKLCHoklch(45.79% 0.118 134.5)
XYZxyz(6.4857, 10.2348, 2.3927)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396516 #421665
analogous
#616516 #396516 #16651B
triadic
#396516 #163965 #651639
tetradic
#396516 #166165 #421665 #651B16
square
#396516 #166165 #421665 #651B16
split-complementary
#396516 #1B1665 #651661
monochromatic
#0E1905 #1D330B #396516 #559721 #72CA2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396516#FFFFFF#000000##FFFFFF
##3965161.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)
#695C07
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#386156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #396516;
/* rgb */ color: rgb(57, 101, 22);
/* oklch */ color: oklch(45.8% 0.118 134.5);
Tailwind
colors: {
  custom: {
    50: '#749159',
    500: '#396516',
    950: '#000000',
  },
}
SCSS
$custom: #396516;
$custom-light: #749159;
$custom-dark: #000000;
JSON
{
  "hex": "#396516",
  "rgb": {
    "r": 57,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 93.418,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.11804,
    "h": 134.5
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#396516
secondary
#713B9C
accent
#41E79D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #396516

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

Preview Lab → · Contrast checker → · Palette generator →

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