#878423#878423

#878423 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.8% C 0.115 H 107.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#878423
RGBrgb(135, 132, 35)
HSLhsl(58, 59%, 33%)
HSVhsv(58, 74%, 53%)
CMYKcmyk(0%, 2.2%, 74.1%, 47.1%)
CIE-LABlab(53.79, -10.80, 49.59)
CIE-LCHlch(53.79, 50.76, 102.28°)
OKLaboklab(59.79% -0.0348 0.1096)
OKLCHoklch(59.79% 0.115 107.6)
XYZxyz(18.5470, 21.7754, 4.8159)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878423 #232687
analogous
#875223 #878423 #588723
triadic
#878423 #238784 #842387
tetradic
#878423 #238752 #232687 #872358
square
#878423 #238752 #232687 #872358
split-complementary
#878423 #235887 #522387
monochromatic
#26250A #565416 #878423 #B8B430 #D2CE52

Accessibility & contrast

On white

3.92
#878423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#878423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878423
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878423#FFFFFF#000000##000000
##8784231.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F11
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#917B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #878423;
/* rgb */ color: rgb(135, 132, 35);
/* oklch */ color: oklch(59.8% 0.115 107.6);
Tailwind
colors: {
  custom: {
    50: '#ada765',
    500: '#878423',
    950: '#000000',
  },
}
SCSS
$custom: #878423;
$custom-light: #ada765;
$custom-dark: #000000;
JSON
{
  "hex": "#878423",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 58.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.11503,
    "h": 107.6
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#878423
secondary
#5053B6
accent
#4AE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878423

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

Preview Lab → · Contrast checker → · Palette generator →

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