#515E17#515E17

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

Color values

HEX#515E17
RGBrgb(81, 94, 23)
HSLhsl(71, 61%, 23%)
HSVhsv(71, 76%, 37%)
CMYKcmyk(13.8%, 0%, 75.5%, 63.1%)
CIE-LABlab(37.51, -15.71, 36.91)
CIE-LCHlch(37.51, 40.12, 113.05°)
OKLaboklab(45.59% -0.0465 0.0825)
OKLCHoklch(45.59% 0.095 119.4)
XYZxyz(7.5508, 9.8166, 2.3075)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E17 #24175E
analogous
#5E4717 #515E17 #2D5E17
triadic
#515E17 #17515E #5E1751
tetradic
#515E17 #175E47 #24175E #5E172D
square
#515E17 #175E47 #24175E #5E172D
split-complementary
#515E17 #172D5E #47175E
monochromatic
#151906 #272D0B #515E17 #7B8F23 #A6C02F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515E17#FFFFFF#000000##FFFFFF
##515E171.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)
#64580B
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e17;
/* rgb */ color: rgb(81, 94, 23);
/* oklch */ color: oklch(45.6% 0.095 119.4);
Tailwind
colors: {
  custom: {
    50: '#848b59',
    500: '#515e17',
    950: '#000000',
  },
}
SCSS
$custom: #515e17;
$custom-light: #848b59;
$custom-dark: #000000;
JSON
{
  "hex": "#515e17",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 70.986,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45593,
    "c": 0.09467,
    "h": 119.4
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#515E17
secondary
#4C3C95
accent
#44E461
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515E17

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

Preview Lab → · Contrast checker → · Palette generator →

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