#396512#396512

#396512 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.120 H 134.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#396512
RGBrgb(57, 101, 18)
HSLhsl(92, 70%, 23%)
HSVhsv(92, 82%, 40%)
CMYKcmyk(43.6%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.24, -29.83, 38.99)
CIE-LCHlch(38.24, 49.09, 127.41°)
OKLaboklab(45.76% -0.0838 0.0866)
OKLCHoklch(45.76% 0.12 134.1)
XYZxyz(6.4501, 10.2206, 2.2051)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396512 #3E1265
analogous
#626512 #396512 #126514
triadic
#396512 #123965 #651239
tetradic
#396512 #126265 #3E1265 #651412
square
#396512 #126265 #3E1265 #651412
split-complementary
#396512 #141265 #651262
monochromatic
#0F1A05 #1C3109 #396512 #56991B #74CD25

Accessibility & contrast

On white

6.90
#396512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#396512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396512
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396512#FFFFFF#000000##FFFFFF
##3965121.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#396156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #396512;
/* rgb */ color: rgb(57, 101, 18);
/* oklch */ color: oklch(45.8% 0.120 134.1);
Tailwind
colors: {
  custom: {
    50: '#749157',
    500: '#396512',
    950: '#000000',
  },
}
SCSS
$custom: #396512;
$custom-light: #749157;
$custom-dark: #000000;
JSON
{
  "hex": "#396512",
  "rgb": {
    "r": 57,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 91.807,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.12047,
    "h": 134.1
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#396512
secondary
#6C369D
accent
#3BED99
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #396512

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

Preview Lab → · Contrast checker → · Palette generator →

#396512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva