#396811#396811

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

Color values

HEX#396811
RGBrgb(57, 104, 17)
HSLhsl(92, 72%, 24%)
HSVhsv(92, 84%, 41%)
CMYKcmyk(45.2%, 0%, 83.7%, 59.2%)
CIE-LABlab(39.26, -31.25, 40.30)
CIE-LCHlch(39.26, 50.99, 127.79°)
OKLaboklab(46.6% -0.0876 0.0891)
OKLCHoklch(46.6% 0.125 134.5)
XYZxyz(6.7387, 10.8106, 2.2618)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396811 #401168
analogous
#646811 #396811 #116814
triadic
#396811 #113968 #681139
tetradic
#396811 #116468 #401168 #681411
square
#396811 #116468 #401168 #681411
split-complementary
#396811 #141168 #681164
monochromatic
#0E1A04 #1C3308 #396811 #569D1A #73D122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #396811;
/* rgb */ color: rgb(57, 104, 17);
/* oklch */ color: oklch(46.6% 0.125 134.5);
Tailwind
colors: {
  custom: {
    50: '#749357',
    500: '#396811',
    950: '#000000',
  },
}
SCSS
$custom: #396811;
$custom-light: #749357;
$custom-dark: #000000;
JSON
{
  "hex": "#396811",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 92.414,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.12501,
    "h": 134.5
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#396811
secondary
#6F35A0
accent
#39EF9B
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #396811

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

Preview Lab → · Contrast checker → · Palette generator →

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