#396810#396810

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

Color values

HEX#396810
RGBrgb(57, 104, 16)
HSLhsl(92, 73%, 24%)
HSVhsv(92, 85%, 41%)
CMYKcmyk(45.2%, 0%, 84.6%, 59.2%)
CIE-LABlab(39.25, -31.30, 40.62)
CIE-LCHlch(39.25, 51.28, 127.62°)
OKLaboklab(46.59% -0.0879 0.0896)
OKLCHoklch(46.59% 0.126 134.4)
XYZxyz(6.7311, 10.8075, 2.2215)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396810 #3F1068
analogous
#656810 #396810 #106813
triadic
#396810 #103968 #681039
tetradic
#396810 #106568 #3F1068 #681310
square
#396810 #106568 #3F1068 #681310
split-complementary
#396810 #131068 #681065
monochromatic
#0F1B04 #1C3308 #396810 #569D18 #73D220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396810#FFFFFF#000000##FFFFFF
##3968101.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)
#665B1A
Tritanopia (blue-blind)
#386458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #396810;
/* rgb */ color: rgb(57, 104, 16);
/* oklch */ color: oklch(46.6% 0.126 134.4);
Tailwind
colors: {
  custom: {
    50: '#759357',
    500: '#396810',
    950: '#000000',
  },
}
SCSS
$custom: #396810;
$custom-light: #759357;
$custom-dark: #000000;
JSON
{
  "hex": "#396810",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 92.045,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.12553,
    "h": 134.4
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#396810
secondary
#6E34A0
accent
#38F09A
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #396810

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

Preview Lab → · Contrast checker → · Palette generator →

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