#396C1B#396C1B

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

Color values

HEX#396C1B
RGBrgb(57, 108, 27)
HSLhsl(98, 60%, 26%)
HSVhsv(98, 75%, 42%)
CMYKcmyk(47.2%, 0%, 75%, 57.6%)
CIE-LABlab(40.69, -32.34, 37.96)
CIE-LCHlch(40.69, 49.87, 130.43°)
OKLaboklab(47.79% -0.0899 0.0859)
OKLCHoklch(47.79% 0.124 136.3)
XYZxyz(7.2475, 11.6737, 2.9080)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C1B #4E1B6C
analogous
#626C1B #396C1B #1B6C26
triadic
#396C1B #1B396C #6C1B39
tetradic
#396C1B #1B626C #4E1B6C #6C261B
square
#396C1B #1B626C #4E1B6C #6C261B
split-complementary
#396C1B #261B6C #6C1B62
monochromatic
#0D1806 #1F3B0F #396C1B #539D27 #6DCC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396C1B#FFFFFF#000000##FFFFFF
##396C1B1.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)
#70630D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#37685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c1b;
/* rgb */ color: rgb(57, 108, 27);
/* oklch */ color: oklch(47.8% 0.124 136.3);
Tailwind
colors: {
  custom: {
    50: '#74965d',
    500: '#396c1b',
    950: '#000000',
  },
}
SCSS
$custom: #396c1b;
$custom-light: #74965d;
$custom-dark: #000000;
JSON
{
  "hex": "#396c1b",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 97.778,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47792,
    "c": 0.1243,
    "h": 136.3
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#396C1B
secondary
#7E42A1
accent
#45E3A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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