#515D0F#515D0F

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

Color values

HEX#515D0F
RGBrgb(81, 93, 15)
HSLhsl(69, 72%, 21%)
HSVhsv(69, 84%, 36%)
CMYKcmyk(12.9%, 0%, 83.9%, 63.5%)
CIE-LABlab(37.14, -15.60, 39.58)
CIE-LCHlch(37.14, 42.54, 111.51°)
OKLaboklab(45.28% -0.0469 0.0866)
OKLCHoklch(45.28% 0.098 118.4)
XYZxyz(7.3941, 9.6126, 1.9177)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D0F #1B0F5D
analogous
#5D420F #515D0F #2A5D0F
triadic
#515D0F #0F515D #5D0F51
tetradic
#515D0F #0F5D42 #1B0F5D #5D0F2A
square
#515D0F #0F5D42 #1B0F5D #5D0F2A
split-complementary
#515D0F #0F2A5D #420F5D
monochromatic
#171A04 #232806 #515D0F #7F9217 #ADC620

Accessibility & contrast

On white

7.19
#515D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#515D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D0F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D0F#FFFFFF#000000##FFFFFF
##515D0F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#625817
Tritanopia (blue-blind)
#56574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d0f;
/* rgb */ color: rgb(81, 93, 15);
/* oklch */ color: oklch(45.3% 0.098 118.4);
Tailwind
colors: {
  custom: {
    50: '#858a55',
    500: '#515d0f',
    950: '#000000',
  },
}
SCSS
$custom: #515d0f;
$custom-light: #858a55;
$custom-dark: #000000;
JSON
{
  "hex": "#515d0f",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 69.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45276,
    "c": 0.09848,
    "h": 118.4
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#515D0F
secondary
#413196
accent
#39EF55
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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