#878D10#878D10

#878D10 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.133 H 112.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#878D10
RGBrgb(135, 141, 16)
HSLhsl(63, 80%, 31%)
HSVhsv(63, 89%, 55%)
CMYKcmyk(4.3%, 0%, 88.7%, 44.7%)
CIE-LABlab(56.33, -16.30, 57.47)
CIE-LCHlch(56.33, 59.74, 105.83°)
OKLaboklab(61.79% -0.0516 0.123)
OKLCHoklch(61.79% 0.133 112.8)
XYZxyz(19.6108, 24.2385, 4.1356)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878D10 #16108D
analogous
#8D5410 #878D10 #488D10
triadic
#878D10 #10878D #8D1087
tetradic
#878D10 #108D54 #16108D #8D1048
square
#878D10 #108D54 #16108D #8D1048
split-complementary
#878D10 #10488D #54108D
monochromatic
#1E1F04 #52560A #878D10 #BCC416 #DFE730

Accessibility & contrast

On white

3.59
#878D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#878D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878D10
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878D10#FFFFFF#000000##000000
##878D101.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#99881F
Tritanopia (blue-blind)
#918478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #878d10;
/* rgb */ color: rgb(135, 141, 16);
/* oklch */ color: oklch(61.8% 0.133 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeae5f',
    500: '#878d10',
    950: '#000000',
  },
}
SCSS
$custom: #878d10;
$custom-light: #aeae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#878d10",
  "rgb": {
    "r": 135,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 62.88,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.1334,
    "h": 112.8
  },
  "luminance": 0.24238
}

Semantic roles & 50–950 ramp

primary
#878D10
secondary
#3E37C2
accent
#32F63B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#111005
muted
#807F79

Preview Lab

Preview with #878D10

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

Preview Lab → · Contrast checker → · Palette generator →

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