#396C19#396C19

#396C19 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.126 H 136.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#396C19
RGBrgb(57, 108, 25)
HSLhsl(97, 62%, 26%)
HSVhsv(97, 77%, 42%)
CMYKcmyk(47.2%, 0%, 76.9%, 57.6%)
CIE-LABlab(40.68, -32.50, 38.76)
CIE-LCHlch(40.68, 50.58, 129.98°)
OKLaboklab(47.78% -0.0904 0.0872)
OKLCHoklch(47.78% 0.126 136)
XYZxyz(7.2252, 11.6647, 2.7903)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C19 #4C196C
analogous
#626C19 #396C19 #196C22
triadic
#396C19 #19396C #6C1939
tetradic
#396C19 #19626C #4C196C #6C2219
square
#396C19 #19626C #4C196C #6C2219
split-complementary
#396C19 #22196C #6C1962
monochromatic
#0D1906 #1F3A0D #396C19 #539E25 #6ECF30

Accessibility & contrast

On white

6.30
#396C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#396C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396C19
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396C19#FFFFFF#000000##FFFFFF
##396C191.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706309
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#37685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c19;
/* rgb */ color: rgb(57, 108, 25);
/* oklch */ color: oklch(47.8% 0.126 136.0);
Tailwind
colors: {
  custom: {
    50: '#75965c',
    500: '#396c19',
    950: '#000000',
  },
}
SCSS
$custom: #396c19;
$custom-light: #75965c;
$custom-dark: #000000;
JSON
{
  "hex": "#396c19",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 96.867,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.12565,
    "h": 136
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#396C19
secondary
#7C3FA1
accent
#42E5A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C19

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

Preview Lab → · Contrast checker → · Palette generator →

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