#515C0D#515C0D

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

Color values

HEX#515C0D
RGBrgb(81, 92, 13)
HSLhsl(68, 75%, 21%)
HSVhsv(68, 86%, 36%)
CMYKcmyk(12%, 0%, 85.9%, 63.9%)
CIE-LABlab(36.80, -15.14, 39.93)
CIE-LCHlch(36.80, 42.70, 110.76°)
OKLaboklab(45.01% -0.0458 0.087)
OKLCHoklch(45.01% 0.098 117.8)
XYZxyz(7.2933, 9.4328, 1.8172)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C0D #180D5C
analogous
#5C3F0D #515C0D #2A5C0D
triadic
#515C0D #0D515C #5C0D51
tetradic
#515C0D #0D5C3F #180D5C #5C0D2A
square
#515C0D #0D5C3F #180D5C #5C0D2A
split-complementary
#515C0D #0D2A5C #3F0D5C
monochromatic
#181B04 #222605 #515C0D #809215 #AFC71C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515C0D#FFFFFF#000000##FFFFFF
##515C0D1.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)
#635600
Deuteranopia (green-blind)
#625715
Tritanopia (blue-blind)
#57564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c0d;
/* rgb */ color: rgb(81, 92, 13);
/* oklch */ color: oklch(45.0% 0.098 117.8);
Tailwind
colors: {
  custom: {
    50: '#858a54',
    500: '#515c0d',
    950: '#000000',
  },
}
SCSS
$custom: #515c0d;
$custom-light: #858a54;
$custom-dark: #000000;
JSON
{
  "hex": "#515c0d",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 13
  },
  "hsl": {
    "h": 68.354,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.09827,
    "h": 117.8
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#515C0D
secondary
#3D2F96
accent
#36F250
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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