#878819#878819

#878819 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.125 H 110.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#878819
RGBrgb(135, 136, 25)
HSLhsl(61, 69%, 32%)
HSVhsv(61, 82%, 53%)
CMYKcmyk(0.7%, 0%, 81.6%, 46.7%)
CIE-LABlab(54.90, -13.38, 53.99)
CIE-LCHlch(54.90, 55.62, 103.92°)
OKLaboklab(60.66% -0.0429 0.1171)
OKLCHoklch(60.66% 0.125 110.1)
XYZxyz(18.9720, 22.8300, 4.3268)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878819 #1A1988
analogous
#885219 #878819 #508819
triadic
#878819 #198788 #881987
tetradic
#878819 #198852 #1A1988 #881950
square
#878819 #198852 #1A1988 #881950
split-complementary
#878819 #195088 #521988
monochromatic
#202106 #54540F #878819 #BABC23 #DADC40

Accessibility & contrast

On white

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

On black

5.57
#878819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878819
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878819#FFFFFF#000000##000000
##8788191.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#917F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878819;
/* rgb */ color: rgb(135, 136, 25);
/* oklch */ color: oklch(60.7% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#adaa61',
    500: '#878819',
    950: '#000000',
  },
}
SCSS
$custom: #878819;
$custom-light: #adaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#878819",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 60.541,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.12468,
    "h": 110.1
  },
  "luminance": 0.22829
}

Semantic roles & 50–950 ramp

primary
#878819
secondary
#4241BB
accent
#3CEC3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878819

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

Preview Lab → · Contrast checker → · Palette generator →

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