#515B14#515B14

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

Color values

HEX#515B14
RGBrgb(81, 91, 20)
HSLhsl(68, 64%, 22%)
HSVhsv(68, 78%, 36%)
CMYKcmyk(11%, 0%, 78%, 64.3%)
CIE-LABlab(36.52, -14.23, 37.17)
CIE-LCHlch(36.52, 39.80, 110.95°)
OKLaboklab(44.79% -0.0427 0.0825)
OKLCHoklch(44.79% 0.093 117.4)
XYZxyz(7.2609, 9.2821, 2.0708)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B14 #1E145B
analogous
#5B4214 #515B14 #2E5B14
triadic
#515B14 #14515B #5B1451
tetradic
#515B14 #145B42 #1E145B #5B142E
square
#515B14 #145B42 #1E145B #5B142E
split-complementary
#515B14 #142E5B #42145B
monochromatic
#161906 #242909 #515B14 #7E8D1F #AABF2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515B14#FFFFFF#000000##FFFFFF
##515B141.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)
#625607
Deuteranopia (green-blind)
#61561A
Tritanopia (blue-blind)
#56564D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b14;
/* rgb */ color: rgb(81, 91, 20);
/* oklch */ color: oklch(44.8% 0.093 117.4);
Tailwind
colors: {
  custom: {
    50: '#848957',
    500: '#515b14',
    950: '#000000',
  },
}
SCSS
$custom: #515b14;
$custom-light: #848957;
$custom-dark: #000000;
JSON
{
  "hex": "#515b14",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 68.451,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.09285,
    "h": 117.4
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#515B14
secondary
#453893
accent
#41E758
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515B14

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

Preview Lab → · Contrast checker → · Palette generator →

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