#396012#396012

#396012 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.4% C 0.114 H 133.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#396012
RGBrgb(57, 96, 18)
HSLhsl(90, 68%, 22%)
HSVhsv(90, 81%, 38%)
CMYKcmyk(40.6%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.52, -27.51, 37.36)
CIE-LCHlch(36.52, 46.39, 126.36°)
OKLaboklab(44.35% -0.0775 0.0831)
OKLCHoklch(44.35% 0.114 133)
XYZxyz(5.9793, 9.2790, 2.0481)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396012 #391260
analogous
#606012 #396012 #126012
triadic
#396012 #123960 #601239
tetradic
#396012 #126060 #391260 #601212
square
#396012 #126060 #391260 #601212
split-complementary
#396012 #121260 #601260
monochromatic
#0F1A05 #1A2C08 #396012 #58941C #76C725

Accessibility & contrast

On white

7.35
#396012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#396012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396012
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396012#FFFFFF#000000##FFFFFF
##3960121.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#395C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #396012;
/* rgb */ color: rgb(57, 96, 18);
/* oklch */ color: oklch(44.4% 0.114 133.0);
Tailwind
colors: {
  custom: {
    50: '#738d57',
    500: '#396012',
    950: '#000000',
  },
}
SCSS
$custom: #396012;
$custom-light: #738d57;
$custom-dark: #000000;
JSON
{
  "hex": "#396012",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.11366,
    "h": 133
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#396012
secondary
#673698
accent
#3DEB94
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #396012

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

Preview Lab → · Contrast checker → · Palette generator →

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