#877C23#877C23

#877C23 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.107 H 102.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#877C23
RGBrgb(135, 124, 35)
HSLhsl(53, 59%, 33%)
HSVhsv(53, 74%, 53%)
CMYKcmyk(0%, 8.1%, 74.1%, 47.1%)
CIE-LABlab(51.48, -6.41, 47.37)
CIE-LCHlch(51.48, 47.80, 97.70°)
OKLaboklab(57.96% -0.0225 0.1049)
OKLCHoklch(57.96% 0.107 102.1)
XYZxyz(17.5035, 19.6883, 4.4680)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C23 #232E87
analogous
#874A23 #877C23 #608723
triadic
#877C23 #23877C #7C2387
tetradic
#877C23 #23874A #232E87 #872360
square
#877C23 #23874A #232E87 #872360
split-complementary
#877C23 #236087 #4A2387
monochromatic
#26230A #564F16 #877C23 #B8A930 #D2C452

Accessibility & contrast

On white

4.25
#877C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#877C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C23#FFFFFF#000000##000000
##877C231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#92736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c23;
/* rgb */ color: rgb(135, 124, 35);
/* oklch */ color: oklch(58.0% 0.107 102.1);
Tailwind
colors: {
  custom: {
    50: '#ada164',
    500: '#877c23',
    950: '#000000',
  },
}
SCSS
$custom: #877c23;
$custom-light: #ada164;
$custom-dark: #000000;
JSON
{
  "hex": "#877c23",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 53.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57956,
    "c": 0.10729,
    "h": 102.1
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#877C23
secondary
#505BB6
accent
#57E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C23

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

Preview Lab → · Contrast checker → · Palette generator →

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