#515111#515111

#515111 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.083 H 109.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#515111
RGBrgb(81, 81, 17)
HSLhsl(60, 65%, 19%)
HSVhsv(60, 79%, 32%)
CMYKcmyk(0%, 0%, 79%, 68.2%)
CIE-LABlab(33.30, -8.68, 35.28)
CIE-LCHlch(33.30, 36.33, 103.82°)
OKLaboklab(42.2% -0.0275 0.0779)
OKLCHoklch(42.2% 0.083 109.5)
XYZxyz(6.4372, 7.6749, 1.6725)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515111 #111151
analogous
#513111 #515111 #315111
triadic
#515111 #115151 #511151
tetradic
#515111 #115131 #111151 #511131
square
#515111 #115131 #111151 #511131
split-complementary
#515111 #113151 #311151
monochromatic
#191905 #1E1E06 #515111 #84841C #B6B626

Accessibility & contrast

On white

8.28
#515111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#515111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515111
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515111#FFFFFF#000000##FFFFFF
##5151111.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#574B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #515111;
/* rgb */ color: rgb(81, 81, 17);
/* oklch */ color: oklch(42.2% 0.083 109.5);
Tailwind
colors: {
  custom: {
    50: '#848154',
    500: '#515111',
    950: '#000000',
  },
}
SCSS
$custom: #515111;
$custom-light: #848154;
$custom-dark: #000000;
JSON
{
  "hex": "#515111",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.08259,
    "h": 109.5
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#515111
secondary
#34348A
accent
#40E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515111

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

Preview Lab → · Contrast checker → · Palette generator →

#515111 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva