#515A16#515A16

#515A16 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.5% C 0.090 H 116.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#515A16
RGBrgb(81, 90, 22)
HSLhsl(68, 61%, 22%)
HSVhsv(68, 76%, 35%)
CMYKcmyk(10%, 0%, 75.6%, 64.7%)
CIE-LABlab(36.21, -13.55, 36.05)
CIE-LCHlch(36.21, 38.51, 110.60°)
OKLaboklab(44.55% -0.0406 0.0805)
OKLCHoklch(44.55% 0.09 116.8)
XYZxyz(7.1945, 9.1197, 2.1402)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A16 #1F165A
analogous
#5A4116 #515A16 #2F5A16
triadic
#515A16 #16515A #5A1651
tetradic
#515A16 #165A41 #1F165A #5A162F
square
#515A16 #165A41 #1F165A #5A162F
split-complementary
#515A16 #162F5A #41165A
monochromatic
#161906 #25290A #515A16 #7D8B22 #AABC2E

Accessibility & contrast

On white

7.44
#515A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#515A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515A16
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515A16#FFFFFF#000000##FFFFFF
##515A161.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#56554D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515a16;
/* rgb */ color: rgb(81, 90, 22);
/* oklch */ color: oklch(44.5% 0.090 116.8);
Tailwind
colors: {
  custom: {
    50: '#848858',
    500: '#515a16',
    950: '#000000',
  },
}
SCSS
$custom: #515a16;
$custom-light: #848858;
$custom-dark: #000000;
JSON
{
  "hex": "#515a16",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 67.941,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44547,
    "c": 0.09013,
    "h": 116.8
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#515A16
secondary
#463B91
accent
#44E459
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515A16

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

Preview Lab → · Contrast checker → · Palette generator →

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