#396D18#396D18

#396D18 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.128 H 136.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#396D18
RGBrgb(57, 109, 24)
HSLhsl(97, 64%, 26%)
HSVhsv(97, 78%, 43%)
CMYKcmyk(47.7%, 0%, 78%, 57.3%)
CIE-LABlab(41.01, -33.01, 39.48)
CIE-LCHlch(41.01, 51.46, 129.90°)
OKLaboklab(48.05% -0.0919 0.0886)
OKLCHoklch(48.05% 0.128 136.1)
XYZxyz(7.3207, 11.8726, 2.7699)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396D18 #4C186D
analogous
#636D18 #396D18 #186D21
triadic
#396D18 #18396D #6D1839
tetradic
#396D18 #18636D #4C186D #6D2118
square
#396D18 #18636D #4C186D #6D2118
split-complementary
#396D18 #21186D #6D1863
monochromatic
#0D1906 #1F3B0D #396D18 #539F23 #6ED12E

Accessibility & contrast

On white

6.22
#396D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#396D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396D18
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396D18#FFFFFF#000000##FFFFFF
##396D181.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716307
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#37695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #396d18;
/* rgb */ color: rgb(57, 109, 24);
/* oklch */ color: oklch(48.0% 0.128 136.1);
Tailwind
colors: {
  custom: {
    50: '#75975c',
    500: '#396d18',
    950: '#000000',
  },
}
SCSS
$custom: #396d18;
$custom-light: #75975c;
$custom-dark: #000000;
JSON
{
  "hex": "#396d18",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 96.706,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.12763,
    "h": 136.1
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #396D18

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

Preview Lab → · Contrast checker → · Palette generator →

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