#515F16#515F16

#515F16 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.00:1 contrast (WCAG AA passes).

Color values

HEX#515F16
RGBrgb(81, 95, 22)
HSLhsl(72, 62%, 23%)
HSVhsv(72, 77%, 37%)
CMYKcmyk(14.7%, 0%, 76.8%, 62.7%)
CIE-LABlab(37.83, -16.32, 37.64)
CIE-LCHlch(37.83, 41.02, 113.44°)
OKLaboklab(45.85% -0.0482 0.0838)
OKLCHoklch(45.85% 0.097 119.9)
XYZxyz(7.6305, 9.9917, 2.2855)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F16 #24165F
analogous
#5F4816 #515F16 #2C5F16
triadic
#515F16 #16515F #5F1651
tetradic
#515F16 #165F48 #24165F #5F162C
square
#515F16 #165F48 #24165F #5F162C
split-complementary
#515F16 #162C5F #48165F
monochromatic
#151906 #272D0A #515F16 #7B9122 #A6C22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515F16#FFFFFF#000000##FFFFFF
##515F161.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)
#655909
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f16;
/* rgb */ color: rgb(81, 95, 22);
/* oklch */ color: oklch(45.8% 0.097 119.9);
Tailwind
colors: {
  custom: {
    50: '#848c59',
    500: '#515f16',
    950: '#000000',
  },
}
SCSS
$custom: #515f16;
$custom-light: #848c59;
$custom-dark: #000000;
JSON
{
  "hex": "#515f16",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 71.507,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.09671,
    "h": 119.9
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#515F16
secondary
#4C3B96
accent
#42E562
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F16

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

Preview Lab → · Contrast checker → · Palette generator →

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