#396F1B#396F1B

#396F1B is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.128 H 136.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#396F1B
RGBrgb(57, 111, 27)
HSLhsl(99, 61%, 27%)
HSVhsv(99, 76%, 44%)
CMYKcmyk(48.6%, 0%, 75.7%, 56.5%)
CIE-LABlab(41.72, -33.66, 39.00)
CIE-LCHlch(41.72, 51.52, 130.79°)
OKLaboklab(48.63% -0.0934 0.088)
OKLCHoklch(48.63% 0.128 136.7)
XYZxyz(7.5694, 12.3174, 3.0153)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396F1B #511B6F
analogous
#636F1B #396F1B #1B6F27
triadic
#396F1B #1B396F #6F1B39
tetradic
#396F1B #1B636F #511B6F #6F271B
square
#396F1B #1B636F #511B6F #6F271B
split-complementary
#396F1B #271B6F #6F1B63
monochromatic
#0D1906 #203E0F #396F1B #52A027 #6CCE36

Accessibility & contrast

On white

6.06
#396F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#396F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396F1B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396F1B#FFFFFF#000000##FFFFFF
##396F1B1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#366B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396f1b;
/* rgb */ color: rgb(57, 111, 27);
/* oklch */ color: oklch(48.6% 0.128 136.7);
Tailwind
colors: {
  custom: {
    50: '#75995d',
    500: '#396f1b',
    950: '#000000',
  },
}
SCSS
$custom: #396f1b;
$custom-light: #75995d;
$custom-dark: #000000;
JSON
{
  "hex": "#396f1b",
  "rgb": {
    "r": 57,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 98.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48632,
    "c": 0.12838,
    "h": 136.7
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#396F1B
secondary
#8142A4
accent
#44E4AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #396F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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