#515E15#515E15

#515E15 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.6% C 0.096 H 119.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#515E15
RGBrgb(81, 94, 21)
HSLhsl(71, 63%, 23%)
HSVhsv(71, 78%, 37%)
CMYKcmyk(13.8%, 0%, 77.7%, 63.1%)
CIE-LABlab(37.50, -15.83, 37.71)
CIE-LCHlch(37.50, 40.90, 112.77°)
OKLaboklab(45.58% -0.047 0.0838)
OKLCHoklch(45.58% 0.096 119.3)
XYZxyz(7.5315, 9.8089, 2.2059)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E15 #22155E
analogous
#5E4615 #515E15 #2C5E15
triadic
#515E15 #15515E #5E1551
tetradic
#515E15 #155E46 #22155E #5E152C
square
#515E15 #155E46 #22155E #5E152C
split-complementary
#515E15 #152C5E #46155E
monochromatic
#161906 #262C0A #515E15 #7C9020 #A7C22B

Accessibility & contrast

On white

7.09
#515E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#515E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515E15
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E15#FFFFFF#000000##FFFFFF
##515E151.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655807
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e15;
/* rgb */ color: rgb(81, 94, 21);
/* oklch */ color: oklch(45.6% 0.096 119.3);
Tailwind
colors: {
  custom: {
    50: '#848b58',
    500: '#515e15',
    950: '#000000',
  },
}
SCSS
$custom: #515e15;
$custom-light: #848b58;
$custom-dark: #000000;
JSON
{
  "hex": "#515e15",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 70.685,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45577,
    "c": 0.09608,
    "h": 119.3
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#515E15
secondary
#4A3995
accent
#41E75F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515E15

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

Preview Lab → · Contrast checker → · Palette generator →

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