#877E25#877E25

#877E25 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.108 H 103.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#877E25
RGBrgb(135, 126, 37)
HSLhsl(54, 57%, 34%)
HSVhsv(54, 73%, 53%)
CMYKcmyk(0%, 6.7%, 72.6%, 47.1%)
CIE-LABlab(52.07, -7.41, 47.14)
CIE-LCHlch(52.07, 47.72, 98.93°)
OKLaboklab(58.43% -0.0251 0.1048)
OKLCHoklch(58.43% 0.108 103.5)
XYZxyz(17.7872, 20.2069, 4.7133)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E25 #252E87
analogous
#874D25 #877E25 #5F8725
triadic
#877E25 #25877E #7E2587
tetradic
#877E25 #25874D #252E87 #87255F
square
#877E25 #25874D #252E87 #87255F
split-complementary
#877E25 #255F87 #4D2587
monochromatic
#27240B #575118 #877E25 #B7AB32 #D1C556

Accessibility & contrast

On white

4.17
#877E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#877E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E25
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E25#FFFFFF#000000##000000
##877E251.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#91756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e25;
/* rgb */ color: rgb(135, 126, 37);
/* oklch */ color: oklch(58.4% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#ada366',
    500: '#877e25',
    950: '#000000',
  },
}
SCSS
$custom: #877e25;
$custom-light: #ada366;
$custom-dark: #000000;
JSON
{
  "hex": "#877e25",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 54.49,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.10778,
    "h": 103.5
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#877E25
secondary
#535CB5
accent
#56E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E25

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

Preview Lab → · Contrast checker → · Palette generator →

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