#877A25#877A25

#877A25 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.104 H 100.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#877A25
RGBrgb(135, 122, 37)
HSLhsl(52, 57%, 34%)
HSVhsv(52, 73%, 53%)
CMYKcmyk(0%, 9.6%, 72.6%, 47.1%)
CIE-LABlab(50.93, -5.19, 46.00)
CIE-LCHlch(50.93, 46.30, 96.43°)
OKLaboklab(57.52% -0.0188 0.1024)
OKLCHoklch(57.52% 0.104 100.4)
XYZxyz(17.2859, 19.2043, 4.5462)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A25 #253287
analogous
#874925 #877A25 #638725
triadic
#877A25 #25877A #7A2587
tetradic
#877A25 #258749 #253287 #872563
square
#877A25 #258749 #253287 #872563
split-complementary
#877A25 #256387 #492587
monochromatic
#27230B #574F18 #877A25 #B7A532 #D1C056

Accessibility & contrast

On white

4.34
#877A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#877A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A25
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A25#FFFFFF#000000##000000
##877A251.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867618
Deuteranopia (green-blind)
#8A7B2A
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a25;
/* rgb */ color: rgb(135, 122, 37);
/* oklch */ color: oklch(57.5% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#ada065',
    500: '#877a25',
    950: '#000000',
  },
}
SCSS
$custom: #877a25;
$custom-light: #ada065;
$custom-dark: #000000;
JSON
{
  "hex": "#877a25",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 52.041,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.10413,
    "h": 100.4
  },
  "luminance": 0.19204
}

Semantic roles & 50–950 ramp

primary
#877A25
secondary
#5360B5
accent
#5CE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A25

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

Preview Lab → · Contrast checker → · Palette generator →

#877A25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva