#515822#515822

#515822 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.2% C 0.077 H 115.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#515822
RGBrgb(81, 88, 34)
HSLhsl(68, 44%, 24%)
HSVhsv(68, 61%, 35%)
CMYKcmyk(8%, 0%, 61.4%, 65.5%)
CIE-LABlab(35.68, -11.49, 29.78)
CIE-LCHlch(35.68, 31.92, 111.09°)
OKLaboklab(44.16% -0.0334 0.0692)
OKLCHoklch(44.16% 0.077 115.8)
XYZxyz(7.1719, 8.8444, 2.8424)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515822 #292258
analogous
#584422 #515822 #365822
triadic
#515822 #225158 #582251
tetradic
#515822 #225844 #292258 #582236
square
#515822 #225844 #292258 #582236
split-complementary
#515822 #223658 #442258
monochromatic
#141609 #282C11 #515822 #7A8433 #A2B044

Accessibility & contrast

On white

7.58
#515822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#515822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515822
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515822#FFFFFF#000000##FFFFFF
##5158221.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541C
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#56534C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #515822;
/* rgb */ color: rgb(81, 88, 34);
/* oklch */ color: oklch(44.2% 0.077 115.8);
Tailwind
colors: {
  custom: {
    50: '#83875f',
    500: '#515822',
    950: '#000000',
  },
}
SCSS
$custom: #515822;
$custom-light: #83875f;
$custom-dark: #000000;
JSON
{
  "hex": "#515822",
  "rgb": {
    "r": 81,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 67.778,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.07681,
    "h": 115.8
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#515822
secondary
#524A8C
accent
#54D464
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #515822

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

Preview Lab → · Contrast checker → · Palette generator →

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