#877225#877225

#877225 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.098 H 93.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#877225
RGBrgb(135, 114, 37)
HSLhsl(47, 57%, 34%)
HSVhsv(47, 73%, 53%)
CMYKcmyk(0%, 15.6%, 72.6%, 47.1%)
CIE-LABlab(48.66, -0.67, 43.74)
CIE-LCHlch(48.66, 43.74, 90.88°)
OKLaboklab(55.73% -0.0059 0.0976)
OKLCHoklch(55.73% 0.098 93.5)
XYZxyz(16.3438, 17.3200, 4.2321)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877225 #253A87
analogous
#874125 #877225 #6B8725
triadic
#877225 #258772 #722587
tetradic
#877225 #258741 #253A87 #87256B
square
#877225 #258741 #253A87 #87256B
split-complementary
#877225 #256B87 #412587
monochromatic
#27210B #574918 #877225 #B79B32 #D1B656

Accessibility & contrast

On white

4.70
#877225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#877225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877225
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877225#FFFFFF#000000##FFFFFF
##8772251.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701A
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#926962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877225;
/* rgb */ color: rgb(135, 114, 37);
/* oklch */ color: oklch(55.7% 0.098 93.5);
Tailwind
colors: {
  custom: {
    50: '#ad9a64',
    500: '#877225',
    950: '#000000',
  },
}
SCSS
$custom: #877225;
$custom-light: #ad9a64;
$custom-dark: #000000;
JSON
{
  "hex": "#877225",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 47.143,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.0978,
    "h": 93.5
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#877225
secondary
#5368B5
accent
#68E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877225

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

Preview Lab → · Contrast checker → · Palette generator →

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