#396D12#396D12

#396D12 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.131 H 135.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#396D12
RGBrgb(57, 109, 18)
HSLhsl(94, 72%, 25%)
HSVhsv(94, 83%, 43%)
CMYKcmyk(47.7%, 0%, 83.5%, 57.3%)
CIE-LABlab(40.98, -33.40, 41.57)
CIE-LCHlch(40.98, 53.32, 128.78°)
OKLaboklab(48.01% -0.0934 0.092)
OKLCHoklch(48.01% 0.131 135.4)
XYZxyz(7.2650, 11.8504, 2.4767)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396D12 #46126D
analogous
#666D12 #396D12 #126D19
triadic
#396D12 #12396D #6D1239
tetradic
#396D12 #12666D #46126D #6D1912
square
#396D12 #12666D #46126D #6D1912
split-complementary
#396D12 #19126D #6D1266
monochromatic
#0E1A04 #1E3809 #396D12 #54A21B #70D623

Accessibility & contrast

On white

6.23
#396D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#396D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396D12
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396D12#FFFFFF#000000##FFFFFF
##396D121.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#37695C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #396d12;
/* rgb */ color: rgb(57, 109, 18);
/* oklch */ color: oklch(48.0% 0.131 135.4);
Tailwind
colors: {
  custom: {
    50: '#759759',
    500: '#396d12',
    950: '#000000',
  },
}
SCSS
$custom: #396d12;
$custom-light: #759759;
$custom-dark: #000000;
JSON
{
  "hex": "#396d12",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 94.286,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48007,
    "c": 0.13106,
    "h": 135.4
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#396D12
secondary
#7537A4
accent
#39EEA1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396D12

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

Preview Lab → · Contrast checker → · Palette generator →

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