#877F25#877F25

#877F25 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.109 H 104.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#877F25
RGBrgb(135, 127, 37)
HSLhsl(55, 57%, 34%)
HSVhsv(55, 73%, 53%)
CMYKcmyk(0%, 5.9%, 72.6%, 47.1%)
CIE-LABlab(52.36, -7.96, 47.42)
CIE-LCHlch(52.36, 48.09, 99.53°)
OKLaboklab(58.66% -0.0266 0.1054)
OKLCHoklch(58.66% 0.109 104.2)
XYZxyz(17.9157, 20.4639, 4.7561)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F25 #252D87
analogous
#874E25 #877F25 #5E8725
triadic
#877F25 #25877F #7F2587
tetradic
#877F25 #25874E #252D87 #87255E
square
#877F25 #25874E #252D87 #87255E
split-complementary
#877F25 #255E87 #4E2587
monochromatic
#27250B #575218 #877F25 #B7AC32 #D1C756

Accessibility & contrast

On white

4.12
#877F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#877F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F25
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F25#FFFFFF#000000##000000
##877F251.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f25;
/* rgb */ color: rgb(135, 127, 37);
/* oklch */ color: oklch(58.7% 0.109 104.2);
Tailwind
colors: {
  custom: {
    50: '#ada366',
    500: '#877f25',
    950: '#000000',
  },
}
SCSS
$custom: #877f25;
$custom-light: #ada366;
$custom-dark: #000000;
JSON
{
  "hex": "#877f25",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 55.102,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.10874,
    "h": 104.2
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#877F25
secondary
#535BB5
accent
#54E048
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #877F25

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

Preview Lab → · Contrast checker → · Palette generator →

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