#396B1B#396B1B

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

Color values

HEX#396B1B
RGBrgb(57, 107, 27)
HSLhsl(98, 60%, 26%)
HSVhsv(98, 75%, 42%)
CMYKcmyk(46.7%, 0%, 74.8%, 58%)
CIE-LABlab(40.35, -31.89, 37.61)
CIE-LCHlch(40.35, 49.32, 130.30°)
OKLaboklab(47.51% -0.0887 0.0851)
OKLCHoklch(47.51% 0.123 136.2)
XYZxyz(7.1427, 11.4639, 2.8731)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396B1B #4D1B6B
analogous
#616B1B #396B1B #1B6B25
triadic
#396B1B #1B396B #6B1B39
tetradic
#396B1B #1B616B #4D1B6B #6B251B
square
#396B1B #1B616B #4D1B6B #6B251B
split-complementary
#396B1B #251B6B #6B1B61
monochromatic
#0D1806 #1F3A0F #396B1B #539C27 #6DCC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396B1B#FFFFFF#000000##FFFFFF
##396B1B1.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)
#6F620E
Deuteranopia (green-blind)
#685E23
Tritanopia (blue-blind)
#37675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #396b1b;
/* rgb */ color: rgb(57, 107, 27);
/* oklch */ color: oklch(47.5% 0.123 136.2);
Tailwind
colors: {
  custom: {
    50: '#74965d',
    500: '#396b1b',
    950: '#000000',
  },
}
SCSS
$custom: #396b1b;
$custom-light: #74965d;
$custom-dark: #000000;
JSON
{
  "hex": "#396b1b",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 97.5,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.12293,
    "h": 136.2
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #396B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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