#878F14#878F14

#878F14 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.134 H 113.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#878F14
RGBrgb(135, 143, 20)
HSLhsl(64, 75%, 32%)
HSVhsv(64, 86%, 56%)
CMYKcmyk(5.6%, 0%, 86%, 43.9%)
CIE-LABlab(56.93, -17.23, 57.07)
CIE-LCHlch(56.93, 59.61, 106.80°)
OKLaboklab(62.28% -0.0539 0.1228)
OKLCHoklch(62.28% 0.134 113.7)
XYZxyz(19.9411, 24.8468, 4.4071)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878F14 #1C148F
analogous
#8F5914 #878F14 #4A8F14
triadic
#878F14 #14878F #8F1487
tetradic
#878F14 #148F59 #1C148F #8F144A
square
#878F14 #148F59 #1C148F #8F144A
split-complementary
#878F14 #144A8F #59148F
monochromatic
#222405 #54590C #878F14 #BAC51C #D8E33A

Accessibility & contrast

On white

3.52
#878F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#878F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878F14
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878F14#FFFFFF#000000##000000
##878F141.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#91867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #878f14;
/* rgb */ color: rgb(135, 143, 20);
/* oklch */ color: oklch(62.3% 0.134 113.7);
Tailwind
colors: {
  custom: {
    50: '#aeaf61',
    500: '#878f14',
    950: '#000000',
  },
}
SCSS
$custom: #878f14;
$custom-light: #aeaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#878f14",
  "rgb": {
    "r": 135,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 63.902,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.62278,
    "c": 0.13412,
    "h": 113.7
  },
  "luminance": 0.24846
}

Semantic roles & 50–950 ramp

primary
#878F14
secondary
#453CC3
accent
#36F242
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878F14

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

Preview Lab → · Contrast checker → · Palette generator →

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