#515F15#515F15

#515F15 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.097 H 119.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#515F15
RGBrgb(81, 95, 21)
HSLhsl(71, 64%, 23%)
HSVhsv(71, 78%, 37%)
CMYKcmyk(14.7%, 0%, 77.9%, 62.7%)
CIE-LABlab(37.82, -16.38, 38.03)
CIE-LCHlch(37.82, 41.41, 113.30°)
OKLaboklab(45.84% -0.0485 0.0845)
OKLCHoklch(45.84% 0.097 119.9)
XYZxyz(7.6210, 9.9879, 2.2357)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F15 #23155F
analogous
#5F4815 #515F15 #2C5F15
triadic
#515F15 #15515F #5F1551
tetradic
#515F15 #155F48 #23155F #5F152C
square
#515F15 #155F48 #23155F #5F152C
split-complementary
#515F15 #152C5F #48155F
monochromatic
#151906 #262D0A #515F15 #7C9120 #A6C32B

Accessibility & contrast

On white

7.01
#515F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515F15
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F15#FFFFFF#000000##FFFFFF
##515F151.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655907
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f15;
/* rgb */ color: rgb(81, 95, 21);
/* oklch */ color: oklch(45.8% 0.097 119.9);
Tailwind
colors: {
  custom: {
    50: '#848c58',
    500: '#515f15',
    950: '#000000',
  },
}
SCSS
$custom: #515f15;
$custom-light: #848c58;
$custom-dark: #000000;
JSON
{
  "hex": "#515f15",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 71.351,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.09739,
    "h": 119.9
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#515F15
secondary
#4B3A96
accent
#41E760
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F15

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

Preview Lab → · Contrast checker → · Palette generator →

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