#515210#515210

#515210 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.084 H 110.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#515210
RGBrgb(81, 82, 16)
HSLhsl(61, 67%, 19%)
HSVhsv(61, 80%, 32%)
CMYKcmyk(1.2%, 0%, 80.5%, 67.8%)
CIE-LABlab(33.61, -9.31, 35.97)
CIE-LCHlch(33.61, 37.15, 104.52°)
OKLaboklab(42.45% -0.0294 0.0791)
OKLCHoklch(42.45% 0.084 110.4)
XYZxyz(6.5044, 7.8215, 1.6572)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515210 #111052
analogous
#523210 #515210 #305210
triadic
#515210 #105152 #521051
tetradic
#515210 #105232 #111052 #521030
square
#515210 #105232 #111052 #521030
split-complementary
#515210 #103052 #321052
monochromatic
#191A05 #1E1F06 #515210 #84851A #B6B824

Accessibility & contrast

On white

8.19
#515210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#515210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515210
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515210#FFFFFF#000000##FFFFFF
##5152101.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E04
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#574C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #515210;
/* rgb */ color: rgb(81, 82, 16);
/* oklch */ color: oklch(42.4% 0.084 110.4);
Tailwind
colors: {
  custom: {
    50: '#848254',
    500: '#515210',
    950: '#000000',
  },
}
SCSS
$custom: #515210;
$custom-light: #848254;
$custom-dark: #000000;
JSON
{
  "hex": "#515210",
  "rgb": {
    "r": 81,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 60.909,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42446,
    "c": 0.08441,
    "h": 110.4
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#515210
secondary
#34328C
accent
#3EEA40
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515210

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

Preview Lab → · Contrast checker → · Palette generator →

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