#877B25#877B25

#877B25 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.105 H 101.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#877B25
RGBrgb(135, 123, 37)
HSLhsl(53, 57%, 34%)
HSVhsv(53, 73%, 53%)
CMYKcmyk(0%, 8.9%, 72.6%, 47.1%)
CIE-LABlab(51.21, -5.75, 46.29)
CIE-LCHlch(51.21, 46.64, 97.08°)
OKLaboklab(57.75% -0.0204 0.103)
OKLCHoklch(57.75% 0.105 101.2)
XYZxyz(17.4093, 19.4512, 4.5873)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B25 #253187
analogous
#874A25 #877B25 #628725
triadic
#877B25 #25877B #7B2587
tetradic
#877B25 #25874A #253187 #872562
square
#877B25 #25874A #253187 #872562
split-complementary
#877B25 #256287 #4A2587
monochromatic
#27230B #574F18 #877B25 #B7A732 #D1C256

Accessibility & contrast

On white

4.29
#877B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#877B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B25
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B25#FFFFFF#000000##000000
##877B251.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877718
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b25;
/* rgb */ color: rgb(135, 123, 37);
/* oklch */ color: oklch(57.7% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#ada065',
    500: '#877b25',
    950: '#000000',
  },
}
SCSS
$custom: #877b25;
$custom-light: #ada065;
$custom-dark: #000000;
JSON
{
  "hex": "#877b25",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 52.653,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.10502,
    "h": 101.2
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

primary
#877B25
secondary
#535FB5
accent
#5AE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B25

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

Preview Lab → · Contrast checker → · Palette generator →

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