#515D16#515D16

#515D16 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.3% C 0.094 H 118.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#515D16
RGBrgb(81, 93, 22)
HSLhsl(70, 62%, 23%)
HSVhsv(70, 76%, 36%)
CMYKcmyk(12.9%, 0%, 76.3%, 63.5%)
CIE-LABlab(37.18, -15.22, 37.00)
CIE-LCHlch(37.18, 40.01, 112.36°)
OKLaboklab(45.33% -0.0452 0.0825)
OKLCHoklch(45.33% 0.094 118.7)
XYZxyz(7.4527, 9.6360, 2.2262)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D16 #22165D
analogous
#5D4616 #515D16 #2D5D16
triadic
#515D16 #16515D #5D1651
tetradic
#515D16 #165D46 #22165D #5D162D
square
#515D16 #165D46 #22165D #5D162D
split-complementary
#515D16 #162D5D #46165D
monochromatic
#161906 #262C0A #515D16 #7C8E22 #A7C02D

Accessibility & contrast

On white

7.17
#515D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#515D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D16
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D16#FFFFFF#000000##FFFFFF
##515D161.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645709
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#56584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d16;
/* rgb */ color: rgb(81, 93, 22);
/* oklch */ color: oklch(45.3% 0.094 118.7);
Tailwind
colors: {
  custom: {
    50: '#848a59',
    500: '#515d16',
    950: '#000000',
  },
}
SCSS
$custom: #515d16;
$custom-light: #848a59;
$custom-dark: #000000;
JSON
{
  "hex": "#515d16",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 70.141,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.09406,
    "h": 118.7
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#515D16
secondary
#4A3B94
accent
#43E55E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515D16

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

Preview Lab → · Contrast checker → · Palette generator →

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