#515D0E#515D0E

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

Color values

HEX#515D0E
RGBrgb(81, 93, 14)
HSLhsl(69, 74%, 21%)
HSVhsv(69, 85%, 36%)
CMYKcmyk(12.9%, 0%, 84.9%, 63.5%)
CIE-LABlab(37.13, -15.64, 39.91)
CIE-LCHlch(37.13, 42.86, 111.41°)
OKLaboklab(45.27% -0.0471 0.0871)
OKLCHoklch(45.27% 0.099 118.4)
XYZxyz(7.3871, 9.6098, 1.8811)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D0E #1A0E5D
analogous
#5D410E #515D0E #295D0E
triadic
#515D0E #0E515D #5D0E51
tetradic
#515D0E #0E5D41 #1A0E5D #5D0E29
square
#515D0E #0E5D41 #1A0E5D #5D0E29
split-complementary
#515D0E #0E295D #410E5D
monochromatic
#171B04 #232806 #515D0E #7F9216 #AEC71E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515D0E#FFFFFF#000000##FFFFFF
##515D0E1.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)
#625816
Tritanopia (blue-blind)
#56574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d0e;
/* rgb */ color: rgb(81, 93, 14);
/* oklch */ color: oklch(45.3% 0.099 118.4);
Tailwind
colors: {
  custom: {
    50: '#858a55',
    500: '#515d0e',
    950: '#000000',
  },
}
SCSS
$custom: #515d0e;
$custom-light: #858a55;
$custom-dark: #000000;
JSON
{
  "hex": "#515d0e",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 69.114,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.09901,
    "h": 118.4
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#515D0E
secondary
#403097
accent
#37F053
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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