#396815#396815

#396815 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.123 H 134.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#396815
RGBrgb(57, 104, 21)
HSLhsl(94, 66%, 25%)
HSVhsv(94, 80%, 41%)
CMYKcmyk(45.2%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.28, -31.00, 38.92)
CIE-LCHlch(39.28, 49.75, 128.54°)
OKLaboklab(46.62% -0.0867 0.0869)
OKLCHoklch(46.62% 0.123 134.9)
XYZxyz(6.7729, 10.8242, 2.4417)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396815 #441568
analogous
#636815 #396815 #15681B
triadic
#396815 #153968 #681539
tetradic
#396815 #156368 #441568 #681B15
square
#396815 #156368 #441568 #681B15
split-complementary
#396815 #1B1568 #681563
monochromatic
#0E1905 #1D350B #396815 #559B1F #71CE2A

Accessibility & contrast

On white

6.64
#396815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#396815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396815
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396815#FFFFFF#000000##FFFFFF
##3968151.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#386458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396815;
/* rgb */ color: rgb(57, 104, 21);
/* oklch */ color: oklch(46.6% 0.123 134.9);
Tailwind
colors: {
  custom: {
    50: '#749359',
    500: '#396815',
    950: '#000000',
  },
}
SCSS
$custom: #396815;
$custom-light: #749359;
$custom-dark: #000000;
JSON
{
  "hex": "#396815",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 93.976,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.12276,
    "h": 134.9
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#396815
secondary
#733A9F
accent
#3EE99F
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396815

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

Preview Lab → · Contrast checker → · Palette generator →

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