#877D23#877D23

#877D23 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.108 H 102.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#877D23
RGBrgb(135, 125, 35)
HSLhsl(54, 59%, 33%)
HSVhsv(54, 74%, 53%)
CMYKcmyk(0%, 7.4%, 74.1%, 47.1%)
CIE-LABlab(51.77, -6.96, 47.64)
CIE-LCHlch(51.77, 48.15, 98.31°)
OKLaboklab(58.18% -0.024 0.1055)
OKLCHoklch(58.18% 0.108 102.8)
XYZxyz(17.6294, 19.9402, 4.5100)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D23 #232D87
analogous
#874B23 #877D23 #5F8723
triadic
#877D23 #23877D #7D2387
tetradic
#877D23 #23874B #232D87 #87235F
square
#877D23 #23874B #232D87 #87235F
split-complementary
#877D23 #235F87 #4B2387
monochromatic
#26230A #565016 #877D23 #B8AA30 #D2C552

Accessibility & contrast

On white

4.21
#877D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#877D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D23#FFFFFF#000000##000000
##877D231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d23;
/* rgb */ color: rgb(135, 125, 35);
/* oklch */ color: oklch(58.2% 0.108 102.8);
Tailwind
colors: {
  custom: {
    50: '#ada265',
    500: '#877d23',
    950: '#000000',
  },
}
SCSS
$custom: #877d23;
$custom-light: #ada265;
$custom-dark: #000000;
JSON
{
  "hex": "#877d23",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 54,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58184,
    "c": 0.10821,
    "h": 102.8
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

primary
#877D23
secondary
#505AB6
accent
#55E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877D23

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

Preview Lab → · Contrast checker → · Palette generator →

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