#515B16#515B16

#515B16 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.091 H 117.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#515B16
RGBrgb(81, 91, 22)
HSLhsl(69, 61%, 22%)
HSVhsv(69, 76%, 36%)
CMYKcmyk(11%, 0%, 75.8%, 64.3%)
CIE-LABlab(36.54, -14.11, 36.37)
CIE-LCHlch(36.54, 39.01, 111.21°)
OKLaboklab(44.81% -0.0421 0.0812)
OKLCHoklch(44.81% 0.091 117.4)
XYZxyz(7.2794, 9.2895, 2.1685)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B16 #20165B
analogous
#5B4316 #515B16 #2E5B16
triadic
#515B16 #16515B #5B1651
tetradic
#515B16 #165B43 #20165B #5B162E
square
#515B16 #165B43 #20165B #5B162E
split-complementary
#515B16 #162E5B #43165B
monochromatic
#161906 #252A0A #515B16 #7D8C22 #A9BE2E

Accessibility & contrast

On white

7.35
#515B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#515B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B16
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B16#FFFFFF#000000##FFFFFF
##515B161.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560A
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#56564D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b16;
/* rgb */ color: rgb(81, 91, 22);
/* oklch */ color: oklch(44.8% 0.091 117.4);
Tailwind
colors: {
  custom: {
    50: '#848958',
    500: '#515b16',
    950: '#000000',
  },
}
SCSS
$custom: #515b16;
$custom-light: #848958;
$custom-dark: #000000;
JSON
{
  "hex": "#515b16",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 68.696,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44806,
    "c": 0.09144,
    "h": 117.4
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#515B16
secondary
#473B92
accent
#44E45B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515B16

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

Preview Lab → · Contrast checker → · Palette generator →

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