#396C1A#396C1A

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

Color values

HEX#396C1A
RGBrgb(57, 108, 26)
HSLhsl(97, 61%, 26%)
HSVhsv(97, 76%, 42%)
CMYKcmyk(47.2%, 0%, 75.9%, 57.6%)
CIE-LABlab(40.69, -32.42, 38.36)
CIE-LCHlch(40.69, 50.23, 130.20°)
OKLaboklab(47.78% -0.0902 0.0866)
OKLCHoklch(47.78% 0.125 136.2)
XYZxyz(7.2362, 11.6691, 2.8482)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C1A #4D1A6C
analogous
#626C1A #396C1A #1A6C24
triadic
#396C1A #1A396C #6C1A39
tetradic
#396C1A #1A626C #4D1A6C #6C241A
square
#396C1A #1A626C #4D1A6C #6C241A
split-complementary
#396C1A #241A6C #6C1A62
monochromatic
#0D1906 #1F3B0E #396C1A #539D26 #6DCE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396C1A#FFFFFF#000000##FFFFFF
##396C1A1.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)
#70630B
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#37685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c1a;
/* rgb */ color: rgb(57, 108, 26);
/* oklch */ color: oklch(47.8% 0.125 136.2);
Tailwind
colors: {
  custom: {
    50: '#75965c',
    500: '#396c1a',
    950: '#000000',
  },
}
SCSS
$custom: #396c1a;
$custom-light: #75965c;
$custom-dark: #000000;
JSON
{
  "hex": "#396c1a",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 97.317,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.12499,
    "h": 136.2
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#396C1A
secondary
#7D41A1
accent
#43E4A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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