#515D19#515D19

#515D19 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.4% C 0.092 H 118.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#515D19
RGBrgb(81, 93, 25)
HSLhsl(71, 58%, 23%)
HSVhsv(71, 73%, 36%)
CMYKcmyk(12.9%, 0%, 73.1%, 63.5%)
CIE-LABlab(37.20, -15.03, 35.75)
CIE-LCHlch(37.20, 38.78, 112.80°)
OKLaboklab(45.35% -0.0444 0.0804)
OKLCHoklch(45.35% 0.092 118.9)
XYZxyz(7.4833, 9.6483, 2.3876)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D19 #25195D
analogous
#5D4719 #515D19 #2F5D19
triadic
#515D19 #19515D #5D1951
tetradic
#515D19 #195D47 #25195D #5D192F
square
#515D19 #195D47 #25195D #5D192F
split-complementary
#515D19 #192F5D #47195D
monochromatic
#151806 #272D0C #515D19 #7B8D26 #A5BD33

Accessibility & contrast

On white

7.17
#515D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#515D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D19
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D19#FFFFFF#000000##FFFFFF
##515D191.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63580F
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#56584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515d19;
/* rgb */ color: rgb(81, 93, 25);
/* oklch */ color: oklch(45.4% 0.092 118.9);
Tailwind
colors: {
  custom: {
    50: '#848a5a',
    500: '#515d19',
    950: '#000000',
  },
}
SCSS
$custom: #515d19;
$custom-light: #848a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#515d19",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 70.588,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.09182,
    "h": 118.9
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#515D19
secondary
#4E3F93
accent
#47E162
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515D19

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

Preview Lab → · Contrast checker → · Palette generator →

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