#878F15#878F15

#878F15 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#878F15
RGBrgb(135, 143, 21)
HSLhsl(64, 74%, 32%)
HSVhsv(64, 85%, 56%)
CMYKcmyk(5.6%, 0%, 85.3%, 43.9%)
CIE-LABlab(56.93, -17.20, 56.82)
CIE-LCHlch(56.93, 59.37, 106.84°)
OKLaboklab(62.28% -0.0538 0.1224)
OKLCHoklch(62.28% 0.134 113.7)
XYZxyz(19.9502, 24.8504, 4.4550)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878F15 #1D158F
analogous
#8F5A15 #878F15 #4A8F15
triadic
#878F15 #15878F #8F1587
tetradic
#878F15 #158F5A #1D158F #8F154A
square
#878F15 #158F5A #1D158F #8F154A
split-complementary
#878F15 #154A8F #5A158F
monochromatic
#222405 #555A0D #878F15 #B9C41D #D7E23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878F15#FFFFFF#000000##000000
##878F151.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: #878f15;
/* rgb */ color: rgb(135, 143, 21);
/* oklch */ color: oklch(62.3% 0.134 113.7);
Tailwind
colors: {
  custom: {
    50: '#aeaf61',
    500: '#878f15',
    950: '#000000',
  },
}
SCSS
$custom: #878f15;
$custom-light: #aeaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#878f15",
  "rgb": {
    "r": 135,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 63.934,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62282,
    "c": 0.13374,
    "h": 113.7
  },
  "luminance": 0.2485
}

Semantic roles & 50–950 ramp

primary
#878F15
secondary
#463EC2
accent
#37F143
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878F15

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

Preview Lab → · Contrast checker → · Palette generator →

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