#396F1A#396F1A

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

Color values

HEX#396F1A
RGBrgb(57, 111, 26)
HSLhsl(98, 62%, 27%)
HSVhsv(98, 77%, 44%)
CMYKcmyk(48.6%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.71, -33.74, 39.39)
CIE-LCHlch(41.71, 51.86, 130.58°)
OKLaboklab(48.62% -0.0937 0.0887)
OKLCHoklch(48.62% 0.129 136.6)
XYZxyz(7.5580, 12.3128, 2.9554)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396F1A #501A6F
analogous
#646F1A #396F1A #1A6F26
triadic
#396F1A #1A396F #6F1A39
tetradic
#396F1A #1A646F #501A6F #6F261A
square
#396F1A #1A646F #501A6F #6F261A
split-complementary
#396F1A #261A6F #6F1A64
monochromatic
#0D1906 #203D0E #396F1A #52A126 #6DCF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396F1A#FFFFFF#000000##FFFFFF
##396F1A1.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)
#73650A
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#366B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396f1a;
/* rgb */ color: rgb(57, 111, 26);
/* oklch */ color: oklch(48.6% 0.129 136.6);
Tailwind
colors: {
  custom: {
    50: '#75995d',
    500: '#396f1a',
    950: '#000000',
  },
}
SCSS
$custom: #396f1a;
$custom-light: #75995d;
$custom-dark: #000000;
JSON
{
  "hex": "#396f1a",
  "rgb": {
    "r": 57,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 98.118,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.12905,
    "h": 136.6
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#396F1A
secondary
#8041A4
accent
#43E5AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #396F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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