#515D17#515D17

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

Color values

HEX#515D17
RGBrgb(81, 93, 23)
HSLhsl(70, 60%, 23%)
HSVhsv(70, 75%, 36%)
CMYKcmyk(12.9%, 0%, 75.3%, 63.5%)
CIE-LABlab(37.19, -15.16, 36.59)
CIE-LCHlch(37.19, 39.61, 112.50°)
OKLaboklab(45.33% -0.0449 0.0818)
OKLCHoklch(45.33% 0.093 118.8)
XYZxyz(7.4625, 9.6399, 2.2780)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D17 #23175D
analogous
#5D4617 #515D17 #2E5D17
triadic
#515D17 #17515D #5D1751
tetradic
#515D17 #175D46 #23175D #5D172E
square
#515D17 #175D46 #23175D #5D172E
split-complementary
#515D17 #172E5D #46175D
monochromatic
#151906 #262C0B #515D17 #7C8E23 #A6BF2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515D17#FFFFFF#000000##FFFFFF
##515D171.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)
#63570B
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#56584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d17;
/* rgb */ color: rgb(81, 93, 23);
/* oklch */ color: oklch(45.3% 0.093 118.8);
Tailwind
colors: {
  custom: {
    50: '#848a59',
    500: '#515d17',
    950: '#000000',
  },
}
SCSS
$custom: #515d17;
$custom-light: #848a59;
$custom-dark: #000000;
JSON
{
  "hex": "#515d17",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 70.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.09334,
    "h": 118.8
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#515D17
secondary
#4B3C94
accent
#44E360
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515D17

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

Preview Lab → · Contrast checker → · Palette generator →

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