#877B23#877B23

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

Color values

HEX#877B23
RGBrgb(135, 123, 35)
HSLhsl(53, 59%, 33%)
HSVhsv(53, 74%, 53%)
CMYKcmyk(0%, 8.9%, 74.1%, 47.1%)
CIE-LABlab(51.20, -5.85, 47.09)
CIE-LCHlch(51.20, 47.45, 97.08°)
OKLaboklab(57.73% -0.0209 0.1043)
OKLCHoklch(57.73% 0.106 101.3)
XYZxyz(17.3788, 19.4389, 4.4265)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B23 #232F87
analogous
#874923 #877B23 #618723
triadic
#877B23 #23877B #7B2387
tetradic
#877B23 #238749 #232F87 #872361
square
#877B23 #238749 #232F87 #872361
split-complementary
#877B23 #236187 #492387
monochromatic
#26220A #564F16 #877B23 #B8A730 #D2C352

Accessibility & contrast

On white

4.30
#877B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877B23#FFFFFF#000000##000000
##877B231.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877b23;
/* rgb */ color: rgb(135, 123, 35);
/* oklch */ color: oklch(57.7% 0.106 101.3);
Tailwind
colors: {
  custom: {
    50: '#ada064',
    500: '#877b23',
    950: '#000000',
  },
}
SCSS
$custom: #877b23;
$custom-light: #ada064;
$custom-dark: #000000;
JSON
{
  "hex": "#877b23",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 52.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.10639,
    "h": 101.3
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#877B23
secondary
#505CB6
accent
#59E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B23

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

Preview Lab → · Contrast checker → · Palette generator →

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