#396017#396017

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

Color values

HEX#396017
RGBrgb(57, 96, 23)
HSLhsl(92, 61%, 23%)
HSVhsv(92, 76%, 38%)
CMYKcmyk(40.6%, 0%, 76%, 62.4%)
CIE-LABlab(36.55, -27.15, 35.42)
CIE-LCHlch(36.55, 44.63, 127.47°)
OKLaboklab(44.39% -0.0761 0.0799)
OKLCHoklch(44.39% 0.11 133.6)
XYZxyz(6.0248, 9.2972, 2.2875)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396017 #3E1760
analogous
#5D6017 #396017 #176019
triadic
#396017 #173960 #601739
tetradic
#396017 #175D60 #3E1760 #601917
square
#396017 #175D60 #3E1760 #601917
split-complementary
#396017 #191760 #60175D
monochromatic
#0F1906 #1C2F0B #396017 #569123 #74C32F

Accessibility & contrast

On white

7.34
#396017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #396017
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396017#FFFFFF#000000##FFFFFF
##3960171.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#395C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #396017;
/* rgb */ color: rgb(57, 96, 23);
/* oklch */ color: oklch(44.4% 0.110 133.6);
Tailwind
colors: {
  custom: {
    50: '#738d59',
    500: '#396017',
    950: '#000000',
  },
}
SCSS
$custom: #396017;
$custom-light: #738d59;
$custom-dark: #000000;
JSON
{
  "hex": "#396017",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 92.055,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.11038,
    "h": 133.6
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#396017
secondary
#6C3C97
accent
#43E499
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396017

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

Preview Lab → · Contrast checker → · Palette generator →

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