#396316#396316

#396316 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.115 H 134.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#396316
RGBrgb(57, 99, 22)
HSLhsl(93, 64%, 24%)
HSVhsv(93, 78%, 39%)
CMYKcmyk(42.4%, 0%, 77.8%, 61.2%)
CIE-LABlab(37.57, -28.64, 36.85)
CIE-LCHlch(37.57, 46.67, 127.85°)
OKLaboklab(45.22% -0.0802 0.0828)
OKLCHoklch(45.22% 0.115 134.1)
XYZxyz(6.2939, 9.8511, 2.3287)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396316 #401663
analogous
#5F6316 #396316 #166319
triadic
#396316 #163963 #631639
tetradic
#396316 #165F63 #401663 #631916
square
#396316 #165F63 #401663 #631916
split-complementary
#396316 #191663 #63165F
monochromatic
#0E1906 #1C310B #396316 #569521 #73C72C

Accessibility & contrast

On white

7.07
#396316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#396316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396316
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396316#FFFFFF#000000##FFFFFF
##3963161.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B08
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#395F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396316;
/* rgb */ color: rgb(57, 99, 22);
/* oklch */ color: oklch(45.2% 0.115 134.1);
Tailwind
colors: {
  custom: {
    50: '#749059',
    500: '#396316',
    950: '#000000',
  },
}
SCSS
$custom: #396316;
$custom-light: #749059;
$custom-dark: #000000;
JSON
{
  "hex": "#396316",
  "rgb": {
    "r": 57,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 92.727,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.11528,
    "h": 134.1
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#396316
secondary
#6F3B9A
accent
#41E79B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396316

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

Preview Lab → · Contrast checker → · Palette generator →

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