#877E23#877E23

#877E23 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.109 H 103.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#877E23
RGBrgb(135, 126, 35)
HSLhsl(55, 59%, 33%)
HSVhsv(55, 74%, 53%)
CMYKcmyk(0%, 6.7%, 74.1%, 47.1%)
CIE-LABlab(52.06, -7.52, 47.92)
CIE-LCHlch(52.06, 48.51, 98.91°)
OKLaboklab(58.41% -0.0256 0.1061)
OKLCHoklch(58.41% 0.109 103.6)
XYZxyz(17.7567, 20.1947, 4.5524)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E23 #232C87
analogous
#874C23 #877E23 #5E8723
triadic
#877E23 #23877E #7E2387
tetradic
#877E23 #23874C #232C87 #87235E
square
#877E23 #23874C #232C87 #87235E
split-complementary
#877E23 #235E87 #4C2387
monochromatic
#26230A #565116 #877E23 #B8AB30 #D2C752

Accessibility & contrast

On white

4.17
#877E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#877E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E23#FFFFFF#000000##000000
##877E231.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#91756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e23;
/* rgb */ color: rgb(135, 126, 35);
/* oklch */ color: oklch(58.4% 0.109 103.6);
Tailwind
colors: {
  custom: {
    50: '#ada365',
    500: '#877e23',
    950: '#000000',
  },
}
SCSS
$custom: #877e23;
$custom-light: #ada365;
$custom-dark: #000000;
JSON
{
  "hex": "#877e23",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 54.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58412,
    "c": 0.10914,
    "h": 103.6
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#877E23
secondary
#5059B6
accent
#54E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E23

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

Preview Lab → · Contrast checker → · Palette generator →

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