#396E1B#396E1B

#396E1B is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.4% C 0.127 H 136.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#396E1B
RGBrgb(57, 110, 27)
HSLhsl(98, 61%, 27%)
HSVhsv(98, 75%, 43%)
CMYKcmyk(48.2%, 0%, 75.5%, 56.9%)
CIE-LABlab(41.38, -33.22, 38.66)
CIE-LCHlch(41.38, 50.97, 130.68°)
OKLaboklab(48.35% -0.0923 0.0873)
OKLCHoklch(48.35% 0.127 136.6)
XYZxyz(7.4609, 12.1004, 2.9792)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396E1B #501B6E
analogous
#636E1B #396E1B #1B6E26
triadic
#396E1B #1B396E #6E1B39
tetradic
#396E1B #1B636E #501B6E #6E261B
square
#396E1B #1B636E #501B6E #6E261B
split-complementary
#396E1B #261B6E #6E1B63
monochromatic
#0D1906 #203D0F #396E1B #529F27 #6DCE36

Accessibility & contrast

On white

6.14
#396E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#396E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396E1B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396E1B#FFFFFF#000000##FFFFFF
##396E1B1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640D
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#366A5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396e1b;
/* rgb */ color: rgb(57, 110, 27);
/* oklch */ color: oklch(48.4% 0.127 136.6);
Tailwind
colors: {
  custom: {
    50: '#75985d',
    500: '#396e1b',
    950: '#000000',
  },
}
SCSS
$custom: #396e1b;
$custom-light: #75985d;
$custom-dark: #000000;
JSON
{
  "hex": "#396e1b",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 98.313,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.12702,
    "h": 136.6
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#396E1B
secondary
#8042A3
accent
#44E4AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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