#877123#877123

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

Color values

HEX#877123
RGBrgb(135, 113, 35)
HSLhsl(47, 59%, 33%)
HSVhsv(47, 74%, 53%)
CMYKcmyk(0%, 16.3%, 74.1%, 47.1%)
CIE-LABlab(48.36, -0.21, 44.30)
CIE-LCHlch(48.36, 44.30, 90.27°)
OKLaboklab(55.49% -0.0048 0.0984)
OKLCHoklch(55.49% 0.099 92.8)
XYZxyz(16.2010, 17.0834, 4.0339)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877123 #233987
analogous
#873F23 #877123 #6B8723
triadic
#877123 #238771 #712387
tetradic
#877123 #23873F #233987 #87236B
square
#877123 #23873F #233987 #87236B
split-complementary
#877123 #236B87 #3F2387
monochromatic
#26200A #564816 #877123 #B89A30 #D2B652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877123#FFFFFF#000000##FFFFFF
##8771231.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)
#7E6F17
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#926861
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877123;
/* rgb */ color: rgb(135, 113, 35);
/* oklch */ color: oklch(55.5% 0.099 92.8);
Tailwind
colors: {
  custom: {
    50: '#ad9963',
    500: '#877123',
    950: '#000000',
  },
}
SCSS
$custom: #877123;
$custom-light: #ad9963;
$custom-dark: #000000;
JSON
{
  "hex": "#877123",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 35
  },
  "hsl": {
    "h": 46.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55486,
    "c": 0.09855,
    "h": 92.8
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#877123
secondary
#5066B6
accent
#68E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #877123

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

Preview Lab → · Contrast checker → · Palette generator →

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