#515D10#515D10

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

Color values

HEX#515D10
RGBrgb(81, 93, 16)
HSLhsl(69, 71%, 21%)
HSVhsv(69, 83%, 36%)
CMYKcmyk(12.9%, 0%, 82.8%, 63.5%)
CIE-LABlab(37.14, -15.55, 39.24)
CIE-LCHlch(37.14, 42.21, 111.62°)
OKLaboklab(45.28% -0.0467 0.0861)
OKLCHoklch(45.28% 0.098 118.5)
XYZxyz(7.4014, 9.6155, 1.9562)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D10 #1C105D
analogous
#5D4310 #515D10 #2B5D10
triadic
#515D10 #10515D #5D1051
tetradic
#515D10 #105D43 #1C105D #5D102B
square
#515D10 #105D43 #1C105D #5D102B
split-complementary
#515D10 #102B5D #43105D
monochromatic
#171A04 #242907 #515D10 #7E9119 #ACC522

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515D10#FFFFFF#000000##FFFFFF
##515D101.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.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: #515d10;
/* rgb */ color: rgb(81, 93, 16);
/* oklch */ color: oklch(45.3% 0.098 118.5);
Tailwind
colors: {
  custom: {
    50: '#858a56',
    500: '#515d10',
    950: '#000000',
  },
}
SCSS
$custom: #515d10;
$custom-light: #858a56;
$custom-dark: #000000;
JSON
{
  "hex": "#515d10",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 69.351,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.09792,
    "h": 118.5
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#515D10
secondary
#423396
accent
#3AED56
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515D10

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

Preview Lab → · Contrast checker → · Palette generator →

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