#877125#877125

#877125 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.097 H 92.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#877125
RGBrgb(135, 113, 37)
HSLhsl(47, 57%, 34%)
HSVhsv(47, 73%, 53%)
CMYKcmyk(0%, 16.3%, 72.6%, 47.1%)
CIE-LABlab(48.38, -0.10, 43.45)
CIE-LCHlch(48.38, 43.45, 90.13°)
OKLaboklab(55.5% -0.0043 0.097)
OKLCHoklch(55.5% 0.097 92.5)
XYZxyz(16.2316, 17.0957, 4.1948)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877125 #253B87
analogous
#874025 #877125 #6C8725
triadic
#877125 #258771 #712587
tetradic
#877125 #258740 #253B87 #87256C
square
#877125 #258740 #253B87 #87256C
split-complementary
#877125 #256C87 #402587
monochromatic
#27210B #574918 #877125 #B79932 #D1B556

Accessibility & contrast

On white

4.75
#877125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#877125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877125
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877125#FFFFFF#000000##FFFFFF
##8771251.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F1A
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877125;
/* rgb */ color: rgb(135, 113, 37);
/* oklch */ color: oklch(55.5% 0.097 92.5);
Tailwind
colors: {
  custom: {
    50: '#ad9964',
    500: '#877125',
    950: '#000000',
  },
}
SCSS
$custom: #877125;
$custom-light: #ad9964;
$custom-dark: #000000;
JSON
{
  "hex": "#877125",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 37
  },
  "hsl": {
    "h": 46.531,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.09711,
    "h": 92.5
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#877125
secondary
#5369B5
accent
#6AE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #877125

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

Preview Lab → · Contrast checker → · Palette generator →

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