#396D15#396D15

#396D15 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.129 H 135.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#396D15
RGBrgb(57, 109, 21)
HSLhsl(95, 68%, 25%)
HSVhsv(95, 81%, 43%)
CMYKcmyk(47.7%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.99, -33.21, 40.57)
CIE-LCHlch(40.99, 52.43, 129.31°)
OKLaboklab(48.03% -0.0927 0.0904)
OKLCHoklch(48.03% 0.129 135.7)
XYZxyz(7.2912, 11.8608, 2.6145)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396D15 #49156D
analogous
#656D15 #396D15 #156D1D
triadic
#396D15 #15396D #6D1539
tetradic
#396D15 #15656D #49156D #6D1D15
square
#396D15 #15656D #49156D #6D1D15
split-complementary
#396D15 #1D156D #6D1565
monochromatic
#0D1A05 #1E3A0B #396D15 #54A01F #6FD429

Accessibility & contrast

On white

6.23
#396D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#396D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396D15
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396D15#FFFFFF#000000##FFFFFF
##396D151.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#37695C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #396d15;
/* rgb */ color: rgb(57, 109, 21);
/* oklch */ color: oklch(48.0% 0.129 135.7);
Tailwind
colors: {
  custom: {
    50: '#75975a',
    500: '#396d15',
    950: '#000000',
  },
}
SCSS
$custom: #396d15;
$custom-light: #75975a;
$custom-dark: #000000;
JSON
{
  "hex": "#396d15",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 95.455,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.12944,
    "h": 135.7
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#396D15
secondary
#783AA3
accent
#3DEBA4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396D15

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

Preview Lab → · Contrast checker → · Palette generator →

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