#396814#396814

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

Color values

HEX#396814
RGBrgb(57, 104, 20)
HSLhsl(94, 68%, 24%)
HSVhsv(94, 81%, 41%)
CMYKcmyk(45.2%, 0%, 80.8%, 59.2%)
CIE-LABlab(39.28, -31.06, 39.28)
CIE-LCHlch(39.28, 50.07, 128.34°)
OKLaboklab(46.62% -0.0869 0.0875)
OKLCHoklch(46.62% 0.123 134.8)
XYZxyz(6.7638, 10.8206, 2.3939)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396814 #431468
analogous
#636814 #396814 #146819
triadic
#396814 #143968 #681439
tetradic
#396814 #146368 #431468 #681914
square
#396814 #146368 #431468 #681914
split-complementary
#396814 #191468 #681463
monochromatic
#0E1A05 #1D350A #396814 #559B1E #71CF28

Accessibility & contrast

On white

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

On black

3.16
#396814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##396814#FFFFFF#000000##FFFFFF
##3968141.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F02
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#386458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #396814;
/* rgb */ color: rgb(57, 104, 20);
/* oklch */ color: oklch(46.6% 0.123 134.8);
Tailwind
colors: {
  custom: {
    50: '#749359',
    500: '#396814',
    950: '#000000',
  },
}
SCSS
$custom: #396814;
$custom-light: #749359;
$custom-dark: #000000;
JSON
{
  "hex": "#396814",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 93.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46615,
    "c": 0.12336,
    "h": 134.8
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#396814
secondary
#72399F
accent
#3DEB9E
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396814

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

Preview Lab → · Contrast checker → · Palette generator →

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