#515D15#515D15

#515D15 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.3% C 0.095 H 118.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#515D15
RGBrgb(81, 93, 21)
HSLhsl(70, 63%, 22%)
HSVhsv(70, 77%, 36%)
CMYKcmyk(12.9%, 0%, 77.4%, 63.5%)
CIE-LABlab(37.17, -15.28, 37.40)
CIE-LCHlch(37.17, 40.40, 112.22°)
OKLaboklab(45.32% -0.0455 0.0831)
OKLCHoklch(45.32% 0.095 118.7)
XYZxyz(7.4432, 9.6322, 2.1764)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D15 #21155D
analogous
#5D4515 #515D15 #2D5D15
triadic
#515D15 #15515D #5D1551
tetradic
#515D15 #155D45 #21155D #5D152D
square
#515D15 #155D45 #21155D #5D152D
split-complementary
#515D15 #152D5D #45155D
monochromatic
#161906 #262B0A #515D15 #7C8F20 #A8C12C

Accessibility & contrast

On white

7.18
#515D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515D15
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D15#FFFFFF#000000##FFFFFF
##515D151.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645708
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#56584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d15;
/* rgb */ color: rgb(81, 93, 21);
/* oklch */ color: oklch(45.3% 0.095 118.7);
Tailwind
colors: {
  custom: {
    50: '#848a58',
    500: '#515d15',
    950: '#000000',
  },
}
SCSS
$custom: #515d15;
$custom-light: #848a58;
$custom-dark: #000000;
JSON
{
  "hex": "#515d15",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 70,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.09477,
    "h": 118.7
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#515D15
secondary
#493994
accent
#42E65D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515D15

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

Preview Lab → · Contrast checker → · Palette generator →

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