#515110#515110

#515110 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.29:1 contrast (WCAG AA passes).

Color values

HEX#515110
RGBrgb(81, 81, 16)
HSLhsl(60, 67%, 19%)
HSVhsv(60, 80%, 32%)
CMYKcmyk(0%, 0%, 80.2%, 68.2%)
CIE-LABlab(33.29, -8.73, 35.67)
CIE-LCHlch(33.29, 36.72, 103.75°)
OKLaboklab(42.19% -0.0278 0.0785)
OKLCHoklch(42.19% 0.083 109.5)
XYZxyz(6.4295, 7.6718, 1.6322)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515110 #101051
analogous
#513110 #515110 #315110
triadic
#515110 #105151 #511051
tetradic
#515110 #105131 #101051 #511031
square
#515110 #105131 #101051 #511031
split-complementary
#515110 #103151 #311051
monochromatic
#1A1A05 #1E1E06 #515110 #84841A #B7B724

Accessibility & contrast

On white

8.29
#515110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515110
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515110#FFFFFF#000000##FFFFFF
##5151101.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515110;
/* rgb */ color: rgb(81, 81, 16);
/* oklch */ color: oklch(42.2% 0.083 109.5);
Tailwind
colors: {
  custom: {
    50: '#848154',
    500: '#515110',
    950: '#000000',
  },
}
SCSS
$custom: #515110;
$custom-light: #848154;
$custom-dark: #000000;
JSON
{
  "hex": "#515110",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.08326,
    "h": 109.5
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#515110
secondary
#32328B
accent
#3EEA3E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515110

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

Preview Lab → · Contrast checker → · Palette generator →

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