#515331#515331

#515331 is a dark, muted yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.052 H 111.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#515331
RGBrgb(81, 83, 49)
HSLhsl(64, 26%, 26%)
HSVhsv(64, 41%, 33%)
CMYKcmyk(2.4%, 0%, 41%, 67.5%)
CIE-LABlab(34.31, -6.86, 19.66)
CIE-LCHlch(34.31, 20.82, 109.23°)
OKLaboklab(43.13% -0.0187 0.0481)
OKLCHoklch(43.13% 0.052 111.3)
XYZxyz(7.0410, 8.1577, 4.1088)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515331 #333153
analogous
#534431 #515331 #405331
triadic
#515331 #315153 #533151
tetradic
#515331 #315344 #333153 #533140
square
#515331 #315344 #333153 #533140
split-complementary
#515331 #314053 #443153
monochromatic
#13130B #2B2D1A #515331 #777948 #9CA05E

Accessibility & contrast

On white

7.98
#515331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#515331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515331
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515331#FFFFFF#000000##FFFFFF
##5153311.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502E
Deuteranopia (green-blind)
#585133
Tritanopia (blue-blind)
#554F4B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515331;
/* rgb */ color: rgb(81, 83, 49);
/* oklch */ color: oklch(43.1% 0.052 111.3);
Tailwind
colors: {
  custom: {
    50: '#828369',
    500: '#515331',
    950: '#000000',
  },
}
SCSS
$custom: #515331;
$custom-light: #828369;
$custom-dark: #000000;
JSON
{
  "hex": "#515331",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 63.529,
    "s": 25.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.05165,
    "h": 111.3
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#515331
secondary
#5E5C84
accent
#66C26B
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #515331

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

Preview Lab → · Contrast checker → · Palette generator →

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