#396D1A#396D1A

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

Color values

HEX#396D1A
RGBrgb(57, 109, 26)
HSLhsl(98, 61%, 26%)
HSVhsv(98, 76%, 43%)
CMYKcmyk(47.7%, 0%, 76.1%, 57.3%)
CIE-LABlab(41.03, -32.86, 38.71)
CIE-LCHlch(41.03, 50.78, 130.33°)
OKLaboklab(48.06% -0.0914 0.0873)
OKLCHoklch(48.06% 0.126 136.3)
XYZxyz(7.3422, 11.8813, 2.8835)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396D1A #4E1A6D
analogous
#636D1A #396D1A #1A6D25
triadic
#396D1A #1A396D #6D1A39
tetradic
#396D1A #1A636D #4E1A6D #6D251A
square
#396D1A #1A636D #4E1A6D #6D251A
split-complementary
#396D1A #251A6D #6D1A63
monochromatic
#0D1906 #1F3C0E #396D1A #539E26 #6DCE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396D1A#FFFFFF#000000##FFFFFF
##396D1A1.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)
#71630B
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#37695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #396d1a;
/* rgb */ color: rgb(57, 109, 26);
/* oklch */ color: oklch(48.1% 0.126 136.3);
Tailwind
colors: {
  custom: {
    50: '#75975d',
    500: '#396d1a',
    950: '#000000',
  },
}
SCSS
$custom: #396d1a;
$custom-light: #75975d;
$custom-dark: #000000;
JSON
{
  "hex": "#396d1a",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 97.59,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.12634,
    "h": 136.3
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#396D1A
secondary
#7E41A2
accent
#43E5A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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