#515114#515114

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

Color values

HEX#515114
RGBrgb(81, 81, 20)
HSLhsl(60, 60%, 20%)
HSVhsv(60, 75%, 32%)
CMYKcmyk(0%, 0%, 75.3%, 68.2%)
CIE-LABlab(33.32, -8.50, 34.04)
CIE-LCHlch(33.32, 35.08, 104.03°)
OKLaboklab(42.22% -0.0267 0.0759)
OKLCHoklch(42.22% 0.08 109.4)
XYZxyz(6.4623, 7.6849, 1.8046)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515114 #141451
analogous
#513314 #515114 #335114
triadic
#515114 #145151 #511451
tetradic
#515114 #145133 #141451 #511433
square
#515114 #145133 #141451 #511433
split-complementary
#515114 #143351 #331451
monochromatic
#191906 #202008 #515114 #828220 #B3B32C

Accessibility & contrast

On white

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

On black

2.54
#515114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515114#FFFFFF#000000##FFFFFF
##5151141.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515114;
/* rgb */ color: rgb(81, 81, 20);
/* oklch */ color: oklch(42.2% 0.080 109.4);
Tailwind
colors: {
  custom: {
    50: '#848156',
    500: '#515114',
    950: '#000000',
  },
}
SCSS
$custom: #515114;
$custom-light: #848156;
$custom-dark: #000000;
JSON
{
  "hex": "#515114",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.08043,
    "h": 109.4
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#515114
secondary
#383889
accent
#44E444
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515114

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

Preview Lab → · Contrast checker → · Palette generator →

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