#396915#396915

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

Color values

HEX#396915
RGBrgb(57, 105, 21)
HSLhsl(94, 67%, 25%)
HSVhsv(94, 80%, 41%)
CMYKcmyk(45.7%, 0%, 80%, 58.8%)
CIE-LABlab(39.63, -31.45, 39.25)
CIE-LCHlch(39.63, 50.29, 128.70°)
OKLaboklab(46.9% -0.0879 0.0876)
OKLCHoklch(46.9% 0.124 135.1)
XYZxyz(6.8741, 11.0268, 2.4755)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396915 #451569
analogous
#636915 #396915 #15691B
triadic
#396915 #153969 #691539
tetradic
#396915 #156369 #451569 #691B15
square
#396915 #156369 #451569 #691B15
split-complementary
#396915 #1B1569 #691563
monochromatic
#0E1A05 #1D360B #396915 #559C1F #70CF29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396915#FFFFFF#000000##FFFFFF
##3969151.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)
#6D6003
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#386559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396915;
/* rgb */ color: rgb(57, 105, 21);
/* oklch */ color: oklch(46.9% 0.124 135.1);
Tailwind
colors: {
  custom: {
    50: '#749459',
    500: '#396915',
    950: '#000000',
  },
}
SCSS
$custom: #396915;
$custom-light: #749459;
$custom-dark: #000000;
JSON
{
  "hex": "#396915",
  "rgb": {
    "r": 57,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 94.286,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.1241,
    "h": 135.1
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#396915
secondary
#743AA0
accent
#3EEAA0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396915

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

Preview Lab → · Contrast checker → · Palette generator →

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