#396918#396918

#396918 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.122 H 135.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#396918
RGBrgb(57, 105, 24)
HSLhsl(96, 63%, 25%)
HSVhsv(96, 77%, 41%)
CMYKcmyk(45.7%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.65, -31.23, 38.12)
CIE-LCHlch(39.65, 49.28, 129.33°)
OKLaboklab(46.93% -0.0871 0.0857)
OKLCHoklch(46.93% 0.122 135.5)
XYZxyz(6.9036, 11.0386, 2.6309)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396918 #481869
analogous
#616918 #396918 #186920
triadic
#396918 #183969 #691839
tetradic
#396918 #186169 #481869 #692018
square
#396918 #186169 #481869 #692018
split-complementary
#396918 #201869 #691861
monochromatic
#0E1906 #1E370D #396918 #549B23 #6FCD2F

Accessibility & contrast

On white

6.55
#396918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#396918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396918
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396918#FFFFFF#000000##FFFFFF
##3969181.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#386559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396918;
/* rgb */ color: rgb(57, 105, 24);
/* oklch */ color: oklch(46.9% 0.122 135.5);
Tailwind
colors: {
  custom: {
    50: '#74945b',
    500: '#396918',
    950: '#000000',
  },
}
SCSS
$custom: #396918;
$custom-light: #74945b;
$custom-dark: #000000;
JSON
{
  "hex": "#396918",
  "rgb": {
    "r": 57,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 95.556,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.12223,
    "h": 135.5
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#396918
secondary
#773E9F
accent
#42E6A3
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396918

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

Preview Lab → · Contrast checker → · Palette generator →

#396918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva