#515D18#515D18

#515D18 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#515D18
RGBrgb(81, 93, 24)
HSLhsl(70, 59%, 23%)
HSVhsv(70, 74%, 36%)
CMYKcmyk(12.9%, 0%, 74.2%, 63.5%)
CIE-LABlab(37.20, -15.09, 36.18)
CIE-LCHlch(37.20, 39.20, 112.65°)
OKLaboklab(45.34% -0.0446 0.0811)
OKLCHoklch(45.34% 0.093 118.8)
XYZxyz(7.4727, 9.6440, 2.3318)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D18 #24185D
analogous
#5D4618 #515D18 #2E5D18
triadic
#515D18 #18515D #5D1851
tetradic
#515D18 #185D46 #24185D #5D182E
square
#515D18 #185D46 #24185D #5D182E
split-complementary
#515D18 #182E5D #46185D
monochromatic
#151806 #272C0B #515D18 #7B8E25 #A6BE31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #515d18;
/* rgb */ color: rgb(81, 93, 24);
/* oklch */ color: oklch(45.3% 0.093 118.8);
Tailwind
colors: {
  custom: {
    50: '#848a5a',
    500: '#515d18',
    950: '#000000',
  },
}
SCSS
$custom: #515d18;
$custom-light: #848a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#515d18",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 70.435,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.09259,
    "h": 118.8
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#515D18
secondary
#4C3D93
accent
#46E261
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515D18

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

Preview Lab → · Contrast checker → · Palette generator →

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