#396C12#396C12

#396C12 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.7% C 0.130 H 135.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#396C12
RGBrgb(57, 108, 18)
HSLhsl(94, 71%, 25%)
HSVhsv(94, 83%, 42%)
CMYKcmyk(47.2%, 0%, 83.3%, 57.6%)
CIE-LABlab(40.64, -32.96, 41.25)
CIE-LCHlch(40.64, 52.80, 128.63°)
OKLaboklab(47.73% -0.0922 0.0913)
OKLCHoklch(47.73% 0.13 135.3)
XYZxyz(7.1589, 11.6382, 2.4413)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C12 #45126C
analogous
#666C12 #396C12 #126C18
triadic
#396C12 #12396C #6C1239
tetradic
#396C12 #12666C #45126C #6C1812
square
#396C12 #12666C #45126C #6C1812
split-complementary
#396C12 #18126C #6C1266
monochromatic
#0E1A04 #1D3809 #396C12 #55A01B #70D523

Accessibility & contrast

On white

6.31
#396C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#396C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396C12
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396C12#FFFFFF#000000##FFFFFF
##396C121.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#37685B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c12;
/* rgb */ color: rgb(57, 108, 18);
/* oklch */ color: oklch(47.7% 0.130 135.3);
Tailwind
colors: {
  custom: {
    50: '#759659',
    500: '#396c12',
    950: '#000000',
  },
}
SCSS
$custom: #396c12;
$custom-light: #759659;
$custom-dark: #000000;
JSON
{
  "hex": "#396c12",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 94,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.12976,
    "h": 135.3
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#396C12
secondary
#7436A3
accent
#3AEEA0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C12

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

Preview Lab → · Contrast checker → · Palette generator →

#396C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva