#396B1A#396B1A

#396B1A is a mid, vivid yellow-green. Relative luminance 0.115; OKLCH L 47.5% C 0.124 H 136.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#396B1A
RGBrgb(57, 107, 26)
HSLhsl(97, 61%, 26%)
HSVhsv(97, 76%, 42%)
CMYKcmyk(46.7%, 0%, 75.7%, 58%)
CIE-LABlab(40.34, -31.98, 38.02)
CIE-LCHlch(40.34, 49.68, 130.07°)
OKLaboklab(47.5% -0.089 0.0858)
OKLCHoklch(47.5% 0.124 136)
XYZxyz(7.1313, 11.4594, 2.8132)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396B1A #4C1A6B
analogous
#616B1A #396B1A #1A6B23
triadic
#396B1A #1A396B #6B1A39
tetradic
#396B1A #1A616B #4C1A6B #6B231A
square
#396B1A #1A616B #4C1A6B #6B231A
split-complementary
#396B1A #231A6B #6B1A61
monochromatic
#0D1906 #1F3A0E #396B1A #539C26 #6ECD32

Accessibility & contrast

On white

6.38
#396B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#396B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396B1A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396B1A#FFFFFF#000000##FFFFFF
##396B1A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620C
Deuteranopia (green-blind)
#685E22
Tritanopia (blue-blind)
#37675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #396b1a;
/* rgb */ color: rgb(57, 107, 26);
/* oklch */ color: oklch(47.5% 0.124 136.0);
Tailwind
colors: {
  custom: {
    50: '#74965c',
    500: '#396b1a',
    950: '#000000',
  },
}
SCSS
$custom: #396b1a;
$custom-light: #74965c;
$custom-dark: #000000;
JSON
{
  "hex": "#396b1a",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 97.037,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.12362,
    "h": 136
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#396B1A
secondary
#7C40A0
accent
#44E4A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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