#396C15#396C15

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

Color values

HEX#396C15
RGBrgb(57, 108, 21)
HSLhsl(95, 67%, 25%)
HSVhsv(95, 81%, 42%)
CMYKcmyk(47.2%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.65, -32.78, 40.24)
CIE-LCHlch(40.65, 51.90, 129.16°)
OKLaboklab(47.75% -0.0915 0.0897)
OKLCHoklch(47.75% 0.128 135.6)
XYZxyz(7.1851, 11.6487, 2.5791)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396C15 #48156C
analogous
#656C15 #396C15 #156C1C
triadic
#396C15 #15396C #6C1539
tetradic
#396C15 #15656C #48156C #6C1C15
square
#396C15 #15656C #48156C #6C1C15
split-complementary
#396C15 #1C156C #6C1565
monochromatic
#0E1A05 #1E390B #396C15 #549F1F #6FD229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396C15#FFFFFF#000000##FFFFFF
##396C151.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)
#706202
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#37685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #396c15;
/* rgb */ color: rgb(57, 108, 21);
/* oklch */ color: oklch(47.7% 0.128 135.6);
Tailwind
colors: {
  custom: {
    50: '#75965a',
    500: '#396c15',
    950: '#000000',
  },
}
SCSS
$custom: #396c15;
$custom-light: #75965a;
$custom-dark: #000000;
JSON
{
  "hex": "#396c15",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 95.172,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.12811,
    "h": 135.6
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#396C15
secondary
#773AA3
accent
#3DEAA3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396C15

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

Preview Lab → · Contrast checker → · Palette generator →

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