#396E12#396E12

#396E12 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.132 H 135.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#396E12
RGBrgb(57, 110, 18)
HSLhsl(95, 72%, 25%)
HSVhsv(95, 84%, 43%)
CMYKcmyk(48.2%, 0%, 83.6%, 56.9%)
CIE-LABlab(41.32, -33.83, 41.89)
CIE-LCHlch(41.32, 53.84, 128.93°)
OKLaboklab(48.29% -0.0945 0.0926)
OKLCHoklch(48.29% 0.132 135.6)
XYZxyz(7.3723, 12.0649, 2.5124)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396E12 #47126E
analogous
#676E12 #396E12 #126E19
triadic
#396E12 #12396E #6E1239
tetradic
#396E12 #12676E #47126E #6E1912
square
#396E12 #12676E #47126E #6E1912
split-complementary
#396E12 #19126E #6E1267
monochromatic
#0E1A04 #1E3909 #396E12 #54A31B #70D723

Accessibility & contrast

On white

6.15
#396E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#396E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396E12
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396E12#FFFFFF#000000##FFFFFF
##396E121.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#376A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #396e12;
/* rgb */ color: rgb(57, 110, 18);
/* oklch */ color: oklch(48.3% 0.132 135.6);
Tailwind
colors: {
  custom: {
    50: '#759859',
    500: '#396e12',
    950: '#000000',
  },
}
SCSS
$custom: #396e12;
$custom-light: #759859;
$custom-dark: #000000;
JSON
{
  "hex": "#396e12",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 94.565,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48288,
    "c": 0.13236,
    "h": 135.6
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#396E12
secondary
#7637A5
accent
#39EFA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396E12

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

Preview Lab → · Contrast checker → · Palette generator →

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