#877A23#877A23

#877A23 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.106 H 100.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#877A23
RGBrgb(135, 122, 35)
HSLhsl(52, 59%, 33%)
HSVhsv(52, 74%, 53%)
CMYKcmyk(0%, 9.6%, 74.1%, 47.1%)
CIE-LABlab(50.91, -5.29, 46.81)
CIE-LCHlch(50.91, 47.11, 96.45°)
OKLaboklab(57.5% -0.0193 0.1037)
OKLCHoklch(57.5% 0.106 100.6)
XYZxyz(17.2554, 19.1921, 4.3853)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A23 #233087
analogous
#874823 #877A23 #628723
triadic
#877A23 #23877A #7A2387
tetradic
#877A23 #238748 #233087 #872362
square
#877A23 #238748 #233087 #872362
split-complementary
#877A23 #236287 #482387
monochromatic
#26220A #564E16 #877A23 #B8A630 #D2C252

Accessibility & contrast

On white

4.34
#877A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#877A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A23
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A23#FFFFFF#000000##000000
##877A231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#8A7B29
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a23;
/* rgb */ color: rgb(135, 122, 35);
/* oklch */ color: oklch(57.5% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#ada064',
    500: '#877a23',
    950: '#000000',
  },
}
SCSS
$custom: #877a23;
$custom-light: #ada064;
$custom-dark: #000000;
JSON
{
  "hex": "#877a23",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 52.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.10552,
    "h": 100.6
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#877A23
secondary
#505DB6
accent
#5AE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A23

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

Preview Lab → · Contrast checker → · Palette generator →

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