#396B18#396B18

#396B18 is a mid, vivid yellow-green. Relative luminance 0.115; OKLCH L 47.5% C 0.125 H 135.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#396B18
RGBrgb(57, 107, 24)
HSLhsl(96, 63%, 26%)
HSVhsv(96, 78%, 42%)
CMYKcmyk(46.7%, 0%, 77.6%, 58%)
CIE-LABlab(40.33, -32.13, 38.80)
CIE-LCHlch(40.33, 50.38, 129.63°)
OKLaboklab(47.49% -0.0895 0.0872)
OKLCHoklch(47.49% 0.125 135.8)
XYZxyz(7.1097, 11.4508, 2.6996)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396B18 #4A186B
analogous
#626B18 #396B18 #186B21
triadic
#396B18 #18396B #6B1839
tetradic
#396B18 #18626B #4A186B #6B2118
square
#396B18 #18626B #4A186B #6B2118
split-complementary
#396B18 #21186B #6B1862
monochromatic
#0D1906 #1E390D #396B18 #549D23 #6ECF2E

Accessibility & contrast

On white

6.38
#396B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#396B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396B18
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396B18#FFFFFF#000000##FFFFFF
##396B181.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#685E20
Tritanopia (blue-blind)
#37675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #396b18;
/* rgb */ color: rgb(57, 107, 24);
/* oklch */ color: oklch(47.5% 0.125 135.8);
Tailwind
colors: {
  custom: {
    50: '#74965b',
    500: '#396b18',
    950: '#000000',
  },
}
SCSS
$custom: #396b18;
$custom-light: #74965b;
$custom-dark: #000000;
JSON
{
  "hex": "#396b18",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 96.145,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.12494,
    "h": 135.8
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#396B18
secondary
#7A3EA1
accent
#41E6A5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396B18

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

Preview Lab → · Contrast checker → · Palette generator →

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