#878723#878723

#878723 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.5% C 0.118 H 109.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#878723
RGBrgb(135, 135, 35)
HSLhsl(60, 59%, 33%)
HSVhsv(60, 74%, 53%)
CMYKcmyk(0%, 0%, 74.1%, 47.1%)
CIE-LABlab(54.66, -12.42, 50.43)
CIE-LCHlch(54.66, 51.94, 103.83°)
OKLaboklab(60.49% -0.0394 0.1114)
OKLCHoklch(60.49% 0.118 109.5)
XYZxyz(18.9597, 22.6008, 4.9534)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878723 #232387
analogous
#875523 #878723 #558723
triadic
#878723 #238787 #872387
tetradic
#878723 #238755 #232387 #872355
square
#878723 #238755 #232387 #872355
split-complementary
#878723 #235587 #552387
monochromatic
#26260A #565616 #878723 #B8B830 #D2D252

Accessibility & contrast

On white

3.80
#878723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#878723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878723
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878723#FFFFFF#000000##000000
##8787231.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#917E74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878723;
/* rgb */ color: rgb(135, 135, 35);
/* oklch */ color: oklch(60.5% 0.118 109.5);
Tailwind
colors: {
  custom: {
    50: '#ada966',
    500: '#878723',
    950: '#000000',
  },
}
SCSS
$custom: #878723;
$custom-light: #ada966;
$custom-dark: #000000;
JSON
{
  "hex": "#878723",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.11814,
    "h": 109.5
  },
  "luminance": 0.226
}

Semantic roles & 50–950 ramp

primary
#878723
secondary
#5050B6
accent
#46E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878723

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

Preview Lab → · Contrast checker → · Palette generator →

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