#515C13#515C13

#515C13 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.0% C 0.095 H 118.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#515C13
RGBrgb(81, 92, 19)
HSLhsl(69, 66%, 22%)
HSVhsv(69, 79%, 36%)
CMYKcmyk(12%, 0%, 79.3%, 63.9%)
CIE-LABlab(36.84, -14.84, 37.86)
CIE-LCHlch(36.84, 40.67, 111.41°)
OKLaboklab(45.04% -0.0445 0.0837)
OKLCHoklch(45.04% 0.095 118)
XYZxyz(7.3382, 9.4507, 2.0536)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C13 #1E135C
analogous
#5C4313 #515C13 #2D5C13
triadic
#515C13 #13515C #5C1351
tetradic
#515C13 #135C43 #1E135C #5C132D
square
#515C13 #135C43 #1E135C #5C132D
split-complementary
#515C13 #132D5C #43135C
monochromatic
#161905 #242909 #515C13 #7E8F1D #AAC128

Accessibility & contrast

On white

7.27
#515C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#515C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515C13
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C13#FFFFFF#000000##FFFFFF
##515C131.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635705
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#56564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c13;
/* rgb */ color: rgb(81, 92, 19);
/* oklch */ color: oklch(45.0% 0.095 118.0);
Tailwind
colors: {
  custom: {
    50: '#848a57',
    500: '#515c13',
    950: '#000000',
  },
}
SCSS
$custom: #515c13;
$custom-light: #848a57;
$custom-dark: #000000;
JSON
{
  "hex": "#515c13",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 69.041,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.09481,
    "h": 118
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#515C13
secondary
#453794
accent
#3FE959
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515C13

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

Preview Lab → · Contrast checker → · Palette generator →

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