#878919#878919

#878919 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.126 H 110.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#878919
RGBrgb(135, 137, 25)
HSLhsl(61, 69%, 32%)
HSVhsv(61, 82%, 54%)
CMYKcmyk(1.5%, 0%, 81.8%, 46.3%)
CIE-LABlab(55.19, -13.91, 54.24)
CIE-LCHlch(55.19, 56.00, 104.39°)
OKLaboklab(60.89% -0.0444 0.1176)
OKLCHoklch(60.89% 0.126 110.7)
XYZxyz(19.1135, 23.1130, 4.3739)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878919 #1B1989
analogous
#895319 #878919 #4F8919
triadic
#878919 #198789 #891987
tetradic
#878919 #198953 #1B1989 #89194F
square
#878919 #198953 #1B1989 #89194F
split-complementary
#878919 #194F89 #531989
monochromatic
#212106 #545510 #878919 #BABD22 #D9DC40

Accessibility & contrast

On white

3.74
#878919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#878919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878919
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878919#FFFFFF#000000##000000
##8789191.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#958624
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #878919;
/* rgb */ color: rgb(135, 137, 25);
/* oklch */ color: oklch(60.9% 0.126 110.7);
Tailwind
colors: {
  custom: {
    50: '#adab61',
    500: '#878919',
    950: '#000000',
  },
}
SCSS
$custom: #878919;
$custom-light: #adab61;
$custom-dark: #000000;
JSON
{
  "hex": "#878919",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 61.071,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.12571,
    "h": 110.7
  },
  "luminance": 0.23112
}

Semantic roles & 50–950 ramp

primary
#878919
secondary
#4441BC
accent
#3CEC3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878919

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

Preview Lab → · Contrast checker → · Palette generator →

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