#878C13#878C13

#878C13 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.131 H 112.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#878C13
RGBrgb(135, 140, 19)
HSLhsl(62, 76%, 31%)
HSVhsv(62, 86%, 55%)
CMYKcmyk(3.6%, 0%, 86.4%, 45.1%)
CIE-LABlab(56.04, -15.69, 56.56)
CIE-LCHlch(56.04, 58.70, 105.50°)
OKLaboklab(61.57% -0.0498 0.1215)
OKLCHoklch(61.57% 0.131 112.3)
XYZxyz(19.4880, 23.9546, 4.2131)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878C13 #18138C
analogous
#8C5413 #878C13 #4A8C13
triadic
#878C13 #13878C #8C1387
tetradic
#878C13 #138C54 #18138C #8C134A
square
#878C13 #138C54 #18138C #8C134A
split-complementary
#878C13 #134A8C #54138C
monochromatic
#1F2004 #53560C #878C13 #BBC21A #DCE436

Accessibility & contrast

On white

3.63
#878C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#878C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878C13
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878C13#FFFFFF#000000##000000
##878C131.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988820
Tritanopia (blue-blind)
#918377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #878c13;
/* rgb */ color: rgb(135, 140, 19);
/* oklch */ color: oklch(61.6% 0.131 112.3);
Tailwind
colors: {
  custom: {
    50: '#aead60',
    500: '#878c13',
    950: '#000000',
  },
}
SCSS
$custom: #878c13;
$custom-light: #aead60;
$custom-dark: #000000;
JSON
{
  "hex": "#878c13",
  "rgb": {
    "r": 135,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 62.479,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.13133,
    "h": 112.3
  },
  "luminance": 0.23954
}

Semantic roles & 50–950 ramp

primary
#878C13
secondary
#403BC0
accent
#35F33D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878C13

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

Preview Lab → · Contrast checker → · Palette generator →

#878C13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva