#396016#396016

#396016 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.4% C 0.111 H 133.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#396016
RGBrgb(57, 96, 22)
HSLhsl(92, 63%, 23%)
HSVhsv(92, 77%, 38%)
CMYKcmyk(40.6%, 0%, 77.1%, 62.4%)
CIE-LABlab(36.54, -27.23, 35.82)
CIE-LCHlch(36.54, 45.00, 127.23°)
OKLaboklab(44.38% -0.0764 0.0806)
OKLCHoklch(44.38% 0.111 133.5)
XYZxyz(6.0149, 9.2932, 2.2357)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396016 #3D1660
analogous
#5E6016 #396016 #166018
triadic
#396016 #163960 #601639
tetradic
#396016 #165E60 #3D1660 #601816
square
#396016 #165E60 #3D1660 #601816
split-complementary
#396016 #181660 #60165E
monochromatic
#0F1906 #1B2E0B #396016 #579221 #74C42D

Accessibility & contrast

On white

7.35
#396016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#396016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396016
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396016#FFFFFF#000000##FFFFFF
##3960161.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#395C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #396016;
/* rgb */ color: rgb(57, 96, 22);
/* oklch */ color: oklch(44.4% 0.111 133.5);
Tailwind
colors: {
  custom: {
    50: '#738d59',
    500: '#396016',
    950: '#000000',
  },
}
SCSS
$custom: #396016;
$custom-light: #738d59;
$custom-dark: #000000;
JSON
{
  "hex": "#396016",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 91.622,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.11108,
    "h": 133.5
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#396016
secondary
#6B3B97
accent
#42E698
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396016

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

Preview Lab → · Contrast checker → · Palette generator →

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