#396C1C#396C1C

#396C1C is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.124 H 136.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#396C1C
RGBrgb(57, 108, 28)
HSLhsl(98, 59%, 27%)
HSVhsv(98, 74%, 42%)
CMYKcmyk(47.2%, 0%, 74.1%, 57.6%)
CIE-LABlab(40.70, -32.26, 37.55)
CIE-LCHlch(40.70, 49.51, 130.66°)
OKLaboklab(47.8% -0.0896 0.0852)
OKLCHoklch(47.8% 0.124 136.4)
XYZxyz(7.2593, 11.6784, 2.9700)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C1C #4F1C6C
analogous
#616C1C #396C1C #1C6C27
triadic
#396C1C #1C396C #6C1C39
tetradic
#396C1C #1C616C #4F1C6C #6C271C
square
#396C1C #1C616C #4F1C6C #6C271C
split-complementary
#396C1C #271C6C #6C1C61
monochromatic
#0D1806 #1F3B0F #396C1C #539D29 #6DCB37

Accessibility & contrast

On white

6.30
#396C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#396C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396C1C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396C1C#FFFFFF#000000##FFFFFF
##396C1C1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630F
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#37685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c1c;
/* rgb */ color: rgb(57, 108, 28);
/* oklch */ color: oklch(47.8% 0.124 136.4);
Tailwind
colors: {
  custom: {
    50: '#74965d',
    500: '#396c1c',
    950: '#000000',
  },
}
SCSS
$custom: #396c1c;
$custom-light: #74965d;
$custom-dark: #000000;
JSON
{
  "hex": "#396c1c",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 28
  },
  "hsl": {
    "h": 98.25,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.478,
    "c": 0.1236,
    "h": 136.4
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#396C1C
secondary
#7F43A1
accent
#46E2A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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