#877428#877428

#877428 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.097 H 94.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#877428
RGBrgb(135, 116, 40)
HSLhsl(48, 54%, 34%)
HSVhsv(48, 70%, 53%)
CMYKcmyk(0%, 14.1%, 70.4%, 47.1%)
CIE-LABlab(49.25, -1.64, 43.01)
CIE-LCHlch(49.25, 43.04, 92.18°)
OKLaboklab(56.2% -0.0083 0.0967)
OKLCHoklch(56.2% 0.097 94.9)
XYZxyz(16.6209, 17.7958, 4.5665)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877428 #283B87
analogous
#874528 #877428 #6B8728
triadic
#877428 #288774 #742887
tetradic
#877428 #288745 #283B87 #87286B
square
#877428 #288745 #283B87 #87286B
split-complementary
#877428 #286B87 #452887
monochromatic
#29230C #584B1A #877428 #B69D36 #CEB75B

Accessibility & contrast

On white

4.61
#877428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#877428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877428
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877428#FFFFFF#000000##FFFFFF
##8774281.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721E
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#926B64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877428;
/* rgb */ color: rgb(135, 116, 40);
/* oklch */ color: oklch(56.2% 0.097 94.9);
Tailwind
colors: {
  custom: {
    50: '#ad9b66',
    500: '#877428',
    950: '#000000',
  },
}
SCSS
$custom: #877428;
$custom-light: #ad9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#877428",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 48,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.09701,
    "h": 94.9
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#877428
secondary
#576AB4
accent
#68DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877428

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

Preview Lab → · Contrast checker → · Palette generator →

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