#817528#817528

#817528 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.8% C 0.097 H 100.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#817528
RGBrgb(129, 117, 40)
HSLhsl(52, 53%, 33%)
HSVhsv(52, 69%, 51%)
CMYKcmyk(0%, 9.3%, 69%, 49.4%)
CIE-LABlab(48.94, -4.99, 42.50)
CIE-LCHlch(48.94, 42.79, 96.70°)
OKLaboklab(55.81% -0.0175 0.0958)
OKLCHoklch(55.81% 0.097 100.4)
XYZxyz(15.7982, 17.5436, 4.5612)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817528 #283481
analogous
#814828 #817528 #608128
triadic
#817528 #288175 #752881
tetradic
#817528 #288148 #283481 #812860
square
#817528 #288148 #283481 #812860
split-complementary
#817528 #286081 #482881
monochromatic
#24200B #524B1A #817528 #B09F36 #CBBC58

Accessibility & contrast

On white

4.66
#817528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#817528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #817528
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817528#FFFFFF#000000##FFFFFF
##8175281.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721E
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#8B6D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #817528;
/* rgb */ color: rgb(129, 117, 40);
/* oklch */ color: oklch(55.8% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#a89c66',
    500: '#817528',
    950: '#000000',
  },
}
SCSS
$custom: #817528;
$custom-light: #a89c66;
$custom-dark: #000000;
JSON
{
  "hex": "#817528",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 51.91,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.09737,
    "h": 100.4
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#817528
secondary
#5461B0
accent
#5FDC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817528

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

Preview Lab → · Contrast checker → · Palette generator →

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