#396C18#396C18

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

Color values

HEX#396C18
RGBrgb(57, 108, 24)
HSLhsl(96, 64%, 26%)
HSVhsv(96, 78%, 42%)
CMYKcmyk(47.2%, 0%, 77.8%, 57.6%)
CIE-LABlab(40.67, -32.57, 39.14)
CIE-LCHlch(40.67, 50.92, 129.76°)
OKLaboklab(47.77% -0.0907 0.0879)
OKLCHoklch(47.77% 0.126 135.9)
XYZxyz(7.2146, 11.6605, 2.7345)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C18 #4B186C
analogous
#636C18 #396C18 #186C21
triadic
#396C18 #18396C #6C1839
tetradic
#396C18 #18636C #4B186C #6C2118
square
#396C18 #18636C #4B186C #6C2118
split-complementary
#396C18 #21186C #6C1863
monochromatic
#0D1906 #1F3A0D #396C18 #539E23 #6ED02E

Accessibility & contrast

On white

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

On black

3.33
#396C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##396C18#FFFFFF#000000##FFFFFF
##396C181.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#37685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c18;
/* rgb */ color: rgb(57, 108, 24);
/* oklch */ color: oklch(47.8% 0.126 135.9);
Tailwind
colors: {
  custom: {
    50: '#75965b',
    500: '#396c18',
    950: '#000000',
  },
}
SCSS
$custom: #396c18;
$custom-light: #75965b;
$custom-dark: #000000;
JSON
{
  "hex": "#396c18",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 96.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.1263,
    "h": 135.9
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#396C18
secondary
#7B3EA2
accent
#41E7A6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C18

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

Preview Lab → · Contrast checker → · Palette generator →

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