#515D13#515D13

#515D13 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.096 H 118.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#515D13
RGBrgb(81, 93, 19)
HSLhsl(70, 66%, 22%)
HSVhsv(70, 80%, 36%)
CMYKcmyk(12.9%, 0%, 79.6%, 63.5%)
CIE-LABlab(37.16, -15.40, 38.17)
CIE-LCHlch(37.16, 41.16, 111.97°)
OKLaboklab(45.3% -0.046 0.0844)
OKLCHoklch(45.3% 0.096 118.6)
XYZxyz(7.4254, 9.6251, 2.0826)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D13 #1F135D
analogous
#5D4413 #515D13 #2C5D13
triadic
#515D13 #13515D #5D1351
tetradic
#515D13 #135D44 #1F135D #5D132C
square
#515D13 #135D44 #1F135D #5D132C
split-complementary
#515D13 #132C5D #44135D
monochromatic
#161905 #252A09 #515D13 #7D901D #AAC328

Accessibility & contrast

On white

7.18
#515D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515D13
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D13#FFFFFF#000000##FFFFFF
##515D131.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645704
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#56574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d13;
/* rgb */ color: rgb(81, 93, 19);
/* oklch */ color: oklch(45.3% 0.096 118.6);
Tailwind
colors: {
  custom: {
    50: '#848a57',
    500: '#515d13',
    950: '#000000',
  },
}
SCSS
$custom: #515d13;
$custom-light: #848a57;
$custom-dark: #000000;
JSON
{
  "hex": "#515d13",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 69.73,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.09609,
    "h": 118.6
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#515D13
secondary
#463795
accent
#3FE95A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515D13

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

Preview Lab → · Contrast checker → · Palette generator →

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