#396D1B#396D1B

#396D1B is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.1% C 0.126 H 136.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#396D1B
RGBrgb(57, 109, 27)
HSLhsl(98, 60%, 27%)
HSVhsv(98, 75%, 43%)
CMYKcmyk(47.7%, 0%, 75.2%, 57.3%)
CIE-LABlab(41.03, -32.78, 38.31)
CIE-LCHlch(41.03, 50.42, 130.55°)
OKLaboklab(48.07% -0.0911 0.0866)
OKLCHoklch(48.07% 0.126 136.4)
XYZxyz(7.3536, 11.8858, 2.9434)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396D1B #4F1B6D
analogous
#626D1B #396D1B #1B6D26
triadic
#396D1B #1B396D #6D1B39
tetradic
#396D1B #1B626D #4F1B6D #6D261B
square
#396D1B #1B626D #4F1B6D #6D261B
split-complementary
#396D1B #261B6D #6D1B62
monochromatic
#0D1906 #1F3C0F #396D1B #539E27 #6DCD35

Accessibility & contrast

On white

6.22
#396D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#396D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396D1B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396D1B#FFFFFF#000000##FFFFFF
##396D1B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630D
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#37695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #396d1b;
/* rgb */ color: rgb(57, 109, 27);
/* oklch */ color: oklch(48.1% 0.126 136.4);
Tailwind
colors: {
  custom: {
    50: '#75975d',
    500: '#396d1b',
    950: '#000000',
  },
}
SCSS
$custom: #396d1b;
$custom-light: #75975d;
$custom-dark: #000000;
JSON
{
  "hex": "#396d1b",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 98.049,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.12567,
    "h": 136.4
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#396D1B
secondary
#7F42A2
accent
#44E3A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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