#878823#878823

#878823 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.7% C 0.119 H 110.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#878823
RGBrgb(135, 136, 35)
HSLhsl(61, 59%, 34%)
HSVhsv(61, 74%, 53%)
CMYKcmyk(0.7%, 0%, 74.3%, 46.7%)
CIE-LABlab(54.95, -12.95, 50.71)
CIE-LCHlch(54.95, 52.33, 104.33°)
OKLaboklab(60.72% -0.0409 0.112)
OKLCHoklch(60.72% 0.119 110.1)
XYZxyz(19.0999, 22.8811, 5.0002)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878823 #242388
analogous
#885623 #878823 #548823
triadic
#878823 #238788 #882387
tetradic
#878823 #238856 #242388 #882354
square
#878823 #238856 #242388 #882354
split-complementary
#878823 #235488 #562388
monochromatic
#26270A #575716 #878823 #B7B930 #D1D353

Accessibility & contrast

On white

3.77
#878823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#878823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878823
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878823#FFFFFF#000000##000000
##8788231.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#917F75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878823;
/* rgb */ color: rgb(135, 136, 35);
/* oklch */ color: oklch(60.7% 0.119 110.1);
Tailwind
colors: {
  custom: {
    50: '#adaa66',
    500: '#878823',
    950: '#000000',
  },
}
SCSS
$custom: #878823;
$custom-light: #adaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#878823",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 60.594,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60719,
    "c": 0.11921,
    "h": 110.1
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

primary
#878823
secondary
#5150B7
accent
#46E247
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878823

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

Preview Lab → · Contrast checker → · Palette generator →

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