#878825#878825

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

Color values

HEX#878825
RGBrgb(135, 136, 37)
HSLhsl(61, 57%, 34%)
HSVhsv(61, 73%, 53%)
CMYKcmyk(0.7%, 0%, 72.8%, 46.7%)
CIE-LABlab(54.96, -12.85, 49.97)
CIE-LCHlch(54.96, 51.59, 104.42°)
OKLaboklab(60.73% -0.0404 0.1108)
OKLCHoklch(60.73% 0.118 110)
XYZxyz(19.1304, 22.8933, 5.1610)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878825 #262588
analogous
#885825 #878825 #568825
triadic
#878825 #258788 #882587
tetradic
#878825 #258858 #262588 #882556
square
#878825 #258858 #262588 #882556
split-complementary
#878825 #255688 #582588
monochromatic
#27280B #575818 #878825 #B7B832 #D0D156

Accessibility & contrast

On white

3.76
#878825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##878825#FFFFFF#000000##000000
##8788251.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#917F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #878825;
/* rgb */ color: rgb(135, 136, 37);
/* oklch */ color: oklch(60.7% 0.118 110.0);
Tailwind
colors: {
  custom: {
    50: '#adaa67',
    500: '#878825',
    950: '#000000',
  },
}
SCSS
$custom: #878825;
$custom-light: #adaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#878825",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 60.606,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60733,
    "c": 0.11792,
    "h": 110
  },
  "luminance": 0.22893
}

Semantic roles & 50–950 ramp

primary
#878825
secondary
#5453B6
accent
#47E049
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878825

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

Preview Lab → · Contrast checker → · Palette generator →

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