#396515#396515

#396515 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.119 H 134.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#396515
RGBrgb(57, 101, 21)
HSLhsl(93, 66%, 24%)
HSVhsv(93, 79%, 40%)
CMYKcmyk(43.6%, 0%, 79.2%, 60.4%)
CIE-LABlab(38.25, -29.63, 37.91)
CIE-LCHlch(38.25, 48.12, 128.01°)
OKLaboklab(45.78% -0.083 0.0848)
OKLCHoklch(45.78% 0.119 134.4)
XYZxyz(6.4763, 10.2310, 2.3429)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396515 #411565
analogous
#616515 #396515 #156519
triadic
#396515 #153965 #651539
tetradic
#396515 #156165 #411565 #651915
square
#396515 #156165 #411565 #651915
split-complementary
#396515 #191565 #651561
monochromatic
#0E1905 #1C320A #396515 #569820 #72CA2A

Accessibility & contrast

On white

6.89
#396515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#396515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396515
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396515#FFFFFF#000000##FFFFFF
##3965151.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#386156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #396515;
/* rgb */ color: rgb(57, 101, 21);
/* oklch */ color: oklch(45.8% 0.119 134.4);
Tailwind
colors: {
  custom: {
    50: '#749159',
    500: '#396515',
    950: '#000000',
  },
}
SCSS
$custom: #396515;
$custom-light: #749159;
$custom-dark: #000000;
JSON
{
  "hex": "#396515",
  "rgb": {
    "r": 57,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 93,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.11868,
    "h": 134.4
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#396515
secondary
#703A9C
accent
#3FE99C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #396515

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

Preview Lab → · Contrast checker → · Palette generator →

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