#396612#396612

#396612 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 46.0% C 0.122 H 134.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#396612
RGBrgb(57, 102, 18)
HSLhsl(92, 70%, 24%)
HSVhsv(92, 82%, 40%)
CMYKcmyk(44.1%, 0%, 82.4%, 60%)
CIE-LABlab(38.58, -30.28, 39.32)
CIE-LCHlch(38.58, 49.63, 127.60°)
OKLaboklab(46.04% -0.085 0.0873)
OKLCHoklch(46.04% 0.122 134.2)
XYZxyz(6.5478, 10.4159, 2.2376)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396612 #3F1266
analogous
#636612 #396612 #126615
triadic
#396612 #123966 #661239
tetradic
#396612 #126366 #3F1266 #661512
square
#396612 #126366 #3F1266 #661512
split-complementary
#396612 #151266 #661263
monochromatic
#0F1A05 #1C3209 #396612 #569A1B #73CE24

Accessibility & contrast

On white

6.81
#396612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#396612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396612
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396612#FFFFFF#000000##FFFFFF
##3966121.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#645A1B
Tritanopia (blue-blind)
#386256
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #396612;
/* rgb */ color: rgb(57, 102, 18);
/* oklch */ color: oklch(46.0% 0.122 134.2);
Tailwind
colors: {
  custom: {
    50: '#749258',
    500: '#396612',
    950: '#000000',
  },
}
SCSS
$custom: #396612;
$custom-light: #749258;
$custom-dark: #000000;
JSON
{
  "hex": "#396612",
  "rgb": {
    "r": 57,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 92.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.12182,
    "h": 134.2
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#396612
secondary
#6E369E
accent
#3BED9A
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #396612

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

Preview Lab → · Contrast checker → · Palette generator →

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