#396F18#396F18

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

Color values

HEX#396F18
RGBrgb(57, 111, 24)
HSLhsl(97, 64%, 26%)
HSVhsv(97, 78%, 44%)
CMYKcmyk(48.6%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.70, -33.88, 40.15)
CIE-LCHlch(41.70, 52.54, 130.16°)
OKLaboklab(48.61% -0.0943 0.09)
OKLCHoklch(48.61% 0.13 136.3)
XYZxyz(7.5364, 12.3042, 2.8418)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396F18 #4E186F
analogous
#656F18 #396F18 #186F23
triadic
#396F18 #18396F #6F1839
tetradic
#396F18 #18656F #4E186F #6F2318
square
#396F18 #18656F #4E186F #6F2318
split-complementary
#396F18 #23186F #6F1865
monochromatic
#0D1905 #1F3D0D #396F18 #53A123 #6DD22F

Accessibility & contrast

On white

6.07
#396F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #396F18
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396F18#FFFFFF#000000##FFFFFF
##396F181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#366B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396f18;
/* rgb */ color: rgb(57, 111, 24);
/* oklch */ color: oklch(48.6% 0.130 136.3);
Tailwind
colors: {
  custom: {
    50: '#75995c',
    500: '#396f18',
    950: '#000000',
  },
}
SCSS
$custom: #396f18;
$custom-light: #75995c;
$custom-dark: #000000;
JSON
{
  "hex": "#396f18",
  "rgb": {
    "r": 57,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 97.241,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.13031,
    "h": 136.3
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#396F18
secondary
#7E3EA5
accent
#40E7A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #396F18

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

Preview Lab → · Contrast checker → · Palette generator →

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