#396813#396813

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

Color values

HEX#396813
RGBrgb(57, 104, 19)
HSLhsl(93, 69%, 24%)
HSVhsv(93, 82%, 41%)
CMYKcmyk(45.2%, 0%, 81.7%, 59.2%)
CIE-LABlab(39.27, -31.13, 39.63)
CIE-LCHlch(39.27, 50.39, 128.15°)
OKLaboklab(46.61% -0.0872 0.0881)
OKLCHoklch(46.61% 0.124 134.7)
XYZxyz(6.7551, 10.8171, 2.3479)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396813 #421368
analogous
#646813 #396813 #136817
triadic
#396813 #133968 #681339
tetradic
#396813 #136468 #421368 #681713
square
#396813 #136468 #421368 #681713
split-complementary
#396813 #171368 #681364
monochromatic
#0E1A05 #1D340A #396813 #559C1C #72CF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396813#FFFFFF#000000##FFFFFF
##3968131.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)
#6C5F00
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#386458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #396813;
/* rgb */ color: rgb(57, 104, 19);
/* oklch */ color: oklch(46.6% 0.124 134.7);
Tailwind
colors: {
  custom: {
    50: '#749358',
    500: '#396813',
    950: '#000000',
  },
}
SCSS
$custom: #396813;
$custom-light: #749358;
$custom-dark: #000000;
JSON
{
  "hex": "#396813",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 93.176,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46608,
    "c": 0.12393,
    "h": 134.7
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#396813
secondary
#71379F
accent
#3CEC9D
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396813

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

Preview Lab → · Contrast checker → · Palette generator →

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