#877922#877922

#877922 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.3% C 0.105 H 99.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#877922
RGBrgb(135, 121, 34)
HSLhsl(52, 60%, 33%)
HSVhsv(52, 75%, 53%)
CMYKcmyk(0%, 10.4%, 74.8%, 47.1%)
CIE-LABlab(50.62, -4.79, 46.92)
CIE-LCHlch(50.62, 47.17, 95.82°)
OKLaboklab(57.27% -0.018 0.1038)
OKLCHoklch(57.27% 0.105 99.8)
XYZxyz(17.1186, 18.9419, 4.2675)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877922 #223087
analogous
#874622 #877922 #628722
triadic
#877922 #228779 #792287
tetradic
#877922 #228746 #223087 #872262
square
#877922 #228746 #223087 #872262
split-complementary
#877922 #226287 #462287
monochromatic
#252109 #564D16 #877922 #B8A52E #D3C150

Accessibility & contrast

On white

4.39
#877922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#877922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877922
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877922#FFFFFF#000000##000000
##8779221.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857613
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877922;
/* rgb */ color: rgb(135, 121, 34);
/* oklch */ color: oklch(57.3% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#ad9f64',
    500: '#877922',
    950: '#000000',
  },
}
SCSS
$custom: #877922;
$custom-light: #ad9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#877922",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 51.683,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.10533,
    "h": 99.8
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#877922
secondary
#4E5DB7
accent
#5BE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877922

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

Preview Lab → · Contrast checker → · Palette generator →

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