#515F17#515F17

#515F17 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.096 H 120.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#515F17
RGBrgb(81, 95, 23)
HSLhsl(72, 61%, 23%)
HSVhsv(72, 76%, 37%)
CMYKcmyk(14.7%, 0%, 75.8%, 62.7%)
CIE-LABlab(37.83, -16.26, 37.23)
CIE-LCHlch(37.83, 40.63, 113.59°)
OKLaboklab(45.85% -0.048 0.0832)
OKLCHoklch(45.85% 0.096 120)
XYZxyz(7.6403, 9.9956, 2.3373)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F17 #25175F
analogous
#5F4917 #515F17 #2D5F17
triadic
#515F17 #17515F #5F1751
tetradic
#515F17 #175F49 #25175F #5F172D
square
#515F17 #175F49 #25175F #5F172D
split-complementary
#515F17 #172D5F #49175F
monochromatic
#151906 #272E0B #515F17 #7B9023 #A5C22F

Accessibility & contrast

On white

7.00
#515F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#515F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F17
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F17#FFFFFF#000000##FFFFFF
##515F171.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f17;
/* rgb */ color: rgb(81, 95, 23);
/* oklch */ color: oklch(45.9% 0.096 120.0);
Tailwind
colors: {
  custom: {
    50: '#848c59',
    500: '#515f17',
    950: '#000000',
  },
}
SCSS
$custom: #515f17;
$custom-light: #848c59;
$custom-dark: #000000;
JSON
{
  "hex": "#515f17",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 71.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.096,
    "h": 120
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#515F17
secondary
#4E3C96
accent
#44E463
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F17

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

Preview Lab → · Contrast checker → · Palette generator →

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