#515E20#515E20

#515E20 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.087 H 120.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#515E20
RGBrgb(81, 94, 32)
HSLhsl(73, 49%, 25%)
HSVhsv(73, 66%, 37%)
CMYKcmyk(13.8%, 0%, 66%, 63.1%)
CIE-LABlab(37.59, -15.04, 32.90)
CIE-LCHlch(37.59, 36.18, 114.57°)
OKLaboklab(45.68% -0.0436 0.0755)
OKLCHoklch(45.68% 0.087 120)
XYZxyz(7.6569, 9.8591, 2.8658)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E20 #2D205E
analogous
#5E4C20 #515E20 #325E20
triadic
#515E20 #20515E #5E2051
tetradic
#515E20 #205E4C #2D205E #5E2032
square
#515E20 #205E4C #2D205E #5E2032
split-complementary
#515E20 #20325E #4C205E
monochromatic
#141708 #2A3010 #515E20 #788C30 #A0B93F

Accessibility & contrast

On white

7.07
#515E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#515E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515E20
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E20#FFFFFF#000000##FFFFFF
##515E201.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645919
Deuteranopia (green-blind)
#625924
Tritanopia (blue-blind)
#565951
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e20;
/* rgb */ color: rgb(81, 94, 32);
/* oklch */ color: oklch(45.7% 0.087 120.0);
Tailwind
colors: {
  custom: {
    50: '#848b5f',
    500: '#515e20',
    950: '#000000',
  },
}
SCSS
$custom: #515e20;
$custom-light: #848b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#515e20",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 32
  },
  "hsl": {
    "h": 72.581,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.08722,
    "h": 120
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#515E20
secondary
#574792
accent
#4FD96C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #515E20

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

Preview Lab → · Contrast checker → · Palette generator →

#515E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva