#515219#515219

#515219 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.078 H 110.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#515219
RGBrgb(81, 82, 25)
HSLhsl(61, 53%, 21%)
HSVhsv(61, 70%, 32%)
CMYKcmyk(1.2%, 0%, 69.5%, 67.8%)
CIE-LABlab(33.68, -8.76, 32.11)
CIE-LCHlch(33.68, 33.29, 105.25°)
OKLaboklab(42.52% -0.0268 0.0727)
OKLCHoklch(42.52% 0.078 110.2)
XYZxyz(6.5863, 7.8543, 2.0886)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515219 #1A1952
analogous
#523619 #515219 #345219
triadic
#515219 #195152 #521951
tetradic
#515219 #195236 #1A1952 #521934
square
#515219 #195236 #1A1952 #521934
split-complementary
#515219 #193452 #361952
monochromatic
#171707 #23230B #515219 #7F8127 #AEB036

Accessibility & contrast

On white

8.17
#515219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#515219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515219
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515219#FFFFFF#000000##FFFFFF
##5152191.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E12
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#574D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #515219;
/* rgb */ color: rgb(81, 82, 25);
/* oklch */ color: oklch(42.5% 0.078 110.2);
Tailwind
colors: {
  custom: {
    50: '#848259',
    500: '#515219',
    950: '#000000',
  },
}
SCSS
$custom: #515219;
$custom-light: #848259;
$custom-dark: #000000;
JSON
{
  "hex": "#515219",
  "rgb": {
    "r": 81,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 61.053,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.07752,
    "h": 110.2
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#515219
secondary
#403E88
accent
#4BDD4E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #515219

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

Preview Lab → · Contrast checker → · Palette generator →

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