#396B16#396B16

#396B16 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.5% C 0.126 H 135.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#396B16
RGBrgb(57, 107, 22)
HSLhsl(95, 66%, 25%)
HSVhsv(95, 79%, 42%)
CMYKcmyk(46.7%, 0%, 79.4%, 58%)
CIE-LABlab(40.32, -32.27, 39.55)
CIE-LCHlch(40.32, 51.04, 129.21°)
OKLaboklab(47.47% -0.0901 0.0884)
OKLCHoklch(47.47% 0.126 135.5)
XYZxyz(7.0897, 11.4428, 2.5940)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396B16 #48166B
analogous
#636B16 #396B16 #166B1D
triadic
#396B16 #16396B #6B1639
tetradic
#396B16 #16636B #48166B #6B1D16
square
#396B16 #16636B #48166B #6B1D16
split-complementary
#396B16 #1D166B #6B1663
monochromatic
#0E1905 #1E380C #396B16 #549E20 #6FD12B

Accessibility & contrast

On white

6.39
#396B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#396B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396B16
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396B16#FFFFFF#000000##FFFFFF
##396B161.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#685E1F
Tritanopia (blue-blind)
#37675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #396b16;
/* rgb */ color: rgb(57, 107, 22);
/* oklch */ color: oklch(47.5% 0.126 135.5);
Tailwind
colors: {
  custom: {
    50: '#75965a',
    500: '#396b16',
    950: '#000000',
  },
}
SCSS
$custom: #396b16;
$custom-light: #75965a;
$custom-dark: #000000;
JSON
{
  "hex": "#396b16",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 95.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.12619,
    "h": 135.5
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#396B16
secondary
#773BA1
accent
#3FE9A3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396B16

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

Preview Lab → · Contrast checker → · Palette generator →

#396B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva