#878F13#878F13

#878F13 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#878F13
RGBrgb(135, 143, 19)
HSLhsl(64, 77%, 32%)
HSVhsv(64, 87%, 56%)
CMYKcmyk(5.6%, 0%, 86.7%, 43.9%)
CIE-LABlab(56.92, -17.26, 57.30)
CIE-LCHlch(56.92, 59.84, 106.77°)
OKLaboklab(62.27% -0.0541 0.1231)
OKLCHoklch(62.27% 0.134 113.7)
XYZxyz(19.9323, 24.8433, 4.3612)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878F13 #1B138F
analogous
#8F5913 #878F13 #498F13
triadic
#878F13 #13878F #8F1387
tetradic
#878F13 #138F59 #1B138F #8F1349
square
#878F13 #138F59 #1B138F #8F1349
split-complementary
#878F13 #13498F #59138F
monochromatic
#212305 #54590C #878F13 #BAC51A #D9E538

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878F13#FFFFFF#000000##000000
##878F131.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)
#9A8A21
Tritanopia (blue-blind)
#91867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #878f13;
/* rgb */ color: rgb(135, 143, 19);
/* oklch */ color: oklch(62.3% 0.134 113.7);
Tailwind
colors: {
  custom: {
    50: '#aeaf60',
    500: '#878f13',
    950: '#000000',
  },
}
SCSS
$custom: #878f13;
$custom-light: #aeaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#878f13",
  "rgb": {
    "r": 135,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 63.871,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.13449,
    "h": 113.7
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

primary
#878F13
secondary
#443BC3
accent
#35F341
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878F13

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

Preview Lab → · Contrast checker → · Palette generator →

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