#515A13#515A13

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

Color values

HEX#515A13
RGBrgb(81, 90, 19)
HSLhsl(68, 65%, 21%)
HSVhsv(68, 79%, 35%)
CMYKcmyk(10%, 0%, 78.9%, 64.7%)
CIE-LABlab(36.19, -13.73, 37.25)
CIE-LCHlch(36.19, 39.70, 110.24°)
OKLaboklab(44.52% -0.0414 0.0824)
OKLCHoklch(44.52% 0.092 116.7)
XYZxyz(7.1672, 9.1088, 1.9966)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A13 #1C135A
analogous
#5A4013 #515A13 #2E5A13
triadic
#515A13 #13515A #5A1351
tetradic
#515A13 #135A40 #1C135A #5A132E
square
#515A13 #135A40 #1C135A #5A132E
split-complementary
#515A13 #132E5A #40135A
monochromatic
#171905 #242708 #515A13 #7E8D1E #ACBF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515A13#FFFFFF#000000##FFFFFF
##515A131.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)
#615505
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#57544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515a13;
/* rgb */ color: rgb(81, 90, 19);
/* oklch */ color: oklch(44.5% 0.092 116.7);
Tailwind
colors: {
  custom: {
    50: '#848857',
    500: '#515a13',
    950: '#000000',
  },
}
SCSS
$custom: #515a13;
$custom-light: #848857;
$custom-dark: #000000;
JSON
{
  "hex": "#515a13",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 67.606,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44524,
    "c": 0.09224,
    "h": 116.7
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#515A13
secondary
#423792
accent
#40E855
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515A13

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

Preview Lab → · Contrast checker → · Palette generator →

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