#877F23#877F23

#877F23 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.6% C 0.110 H 104.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#877F23
RGBrgb(135, 127, 35)
HSLhsl(55, 59%, 33%)
HSVhsv(55, 74%, 53%)
CMYKcmyk(0%, 5.9%, 74.1%, 47.1%)
CIE-LABlab(52.34, -8.07, 48.20)
CIE-LCHlch(52.34, 48.87, 99.50°)
OKLaboklab(58.64% -0.0272 0.1067)
OKLCHoklch(58.64% 0.11 104.3)
XYZxyz(17.8852, 20.4517, 4.5953)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F23 #232B87
analogous
#874D23 #877F23 #5D8723
triadic
#877F23 #23877F #7F2387
tetradic
#877F23 #23874D #232B87 #87235D
square
#877F23 #23874D #232B87 #87235D
split-complementary
#877F23 #235D87 #4D2387
monochromatic
#26240A #565116 #877F23 #B8AD30 #D2C852

Accessibility & contrast

On white

4.13
#877F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#877F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F23
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F23#FFFFFF#000000##000000
##877F231.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A13
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f23;
/* rgb */ color: rgb(135, 127, 35);
/* oklch */ color: oklch(58.6% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#ada365',
    500: '#877f23',
    950: '#000000',
  },
}
SCSS
$custom: #877f23;
$custom-light: #ada365;
$custom-dark: #000000;
JSON
{
  "hex": "#877f23",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 55.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.11008,
    "h": 104.3
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#877F23
secondary
#5058B6
accent
#52E246
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #877F23

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

Preview Lab → · Contrast checker → · Palette generator →

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