#396816#396816

#396816 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.122 H 135.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#396816
RGBrgb(57, 104, 22)
HSLhsl(94, 65%, 25%)
HSVhsv(94, 79%, 41%)
CMYKcmyk(45.2%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.29, -30.93, 38.55)
CIE-LCHlch(39.29, 49.42, 128.74°)
OKLaboklab(46.63% -0.0864 0.0863)
OKLCHoklch(46.63% 0.122 135)
XYZxyz(6.7823, 10.8280, 2.4915)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396816 #451668
analogous
#626816 #396816 #16681C
triadic
#396816 #163968 #681639
tetradic
#396816 #166268 #451668 #681C16
square
#396816 #166268 #451668 #681C16
split-complementary
#396816 #1C1668 #681662
monochromatic
#0E1905 #1D350B #396816 #559B21 #70CD2B

Accessibility & contrast

On white

6.63
#396816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#396816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396816
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396816#FFFFFF#000000##FFFFFF
##3968161.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#386458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396816;
/* rgb */ color: rgb(57, 104, 22);
/* oklch */ color: oklch(46.6% 0.122 135.0);
Tailwind
colors: {
  custom: {
    50: '#74935a',
    500: '#396816',
    950: '#000000',
  },
}
SCSS
$custom: #396816;
$custom-light: #74935a;
$custom-dark: #000000;
JSON
{
  "hex": "#396816",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 94.39,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.12215,
    "h": 135
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#396816
secondary
#743B9F
accent
#40E8A0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396816

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

Preview Lab → · Contrast checker → · Palette generator →

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