#396F12#396F12

#396F12 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.134 H 135.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#396F12
RGBrgb(57, 111, 18)
HSLhsl(95, 72%, 25%)
HSVhsv(95, 84%, 44%)
CMYKcmyk(48.6%, 0%, 83.8%, 56.5%)
CIE-LABlab(41.66, -34.26, 42.20)
CIE-LCHlch(41.66, 54.36, 129.07°)
OKLaboklab(48.57% -0.0957 0.0933)
OKLCHoklch(48.57% 0.134 135.7)
XYZxyz(7.4808, 12.2819, 2.5486)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396F12 #48126F
analogous
#676F12 #396F12 #126F1A
triadic
#396F12 #12396F #6F1239
tetradic
#396F12 #12676F #48126F #6F1A12
square
#396F12 #12676F #48126F #6F1A12
split-complementary
#396F12 #1A126F #6F1267
monochromatic
#0E1A04 #1E3A09 #396F12 #54A41B #6FD823

Accessibility & contrast

On white

6.08
#396F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#396F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396F12
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396F12#FFFFFF#000000##FFFFFF
##396F121.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#376B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396f12;
/* rgb */ color: rgb(57, 111, 18);
/* oklch */ color: oklch(48.6% 0.134 135.7);
Tailwind
colors: {
  custom: {
    50: '#759959',
    500: '#396f12',
    950: '#000000',
  },
}
SCSS
$custom: #396f12;
$custom-light: #759959;
$custom-dark: #000000;
JSON
{
  "hex": "#396f12",
  "rgb": {
    "r": 57,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 94.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.13365,
    "h": 135.7
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#396F12
secondary
#7737A6
accent
#39EFA3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #396F12

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

Preview Lab → · Contrast checker → · Palette generator →

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