#877928#877928

#877928 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.3% C 0.101 H 99.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#877928
RGBrgb(135, 121, 40)
HSLhsl(51, 54%, 34%)
HSVhsv(51, 70%, 53%)
CMYKcmyk(0%, 10.4%, 70.4%, 47.1%)
CIE-LABlab(50.66, -4.46, 44.46)
CIE-LCHlch(50.66, 44.69, 95.73°)
OKLaboklab(57.32% -0.0164 0.0997)
OKLCHoklch(57.32% 0.101 99.3)
XYZxyz(17.2128, 18.9796, 4.7638)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877928 #283687
analogous
#874A28 #877928 #668728
triadic
#877928 #288779 #792887
tetradic
#877928 #28874A #283687 #872866
square
#877928 #28874A #283687 #872866
split-complementary
#877928 #286687 #4A2887
monochromatic
#29240C #584F1A #877928 #B6A336 #CEBD5B

Accessibility & contrast

On white

4.38
#877928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#877928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877928
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877928#FFFFFF#000000##000000
##8779281.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877928;
/* rgb */ color: rgb(135, 121, 40);
/* oklch */ color: oklch(57.3% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#ad9f67',
    500: '#877928',
    950: '#000000',
  },
}
SCSS
$custom: #877928;
$custom-light: #ad9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#877928",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 51.158,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.10105,
    "h": 99.3
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

primary
#877928
secondary
#5765B4
accent
#60DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877928

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

Preview Lab → · Contrast checker → · Palette generator →

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