#878E14#878E14

#878E14 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.133 H 113.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#878E14
RGBrgb(135, 142, 20)
HSLhsl(63, 75%, 32%)
HSVhsv(63, 86%, 56%)
CMYKcmyk(4.9%, 0%, 85.9%, 44.3%)
CIE-LABlab(56.63, -16.71, 56.82)
CIE-LCHlch(56.63, 59.23, 106.39°)
OKLaboklab(62.04% -0.0525 0.1223)
OKLCHoklch(62.04% 0.133 113.2)
XYZxyz(19.7916, 24.5479, 4.3573)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878E14 #1B148E
analogous
#8E5814 #878E14 #4A8E14
triadic
#878E14 #14878E #8E1487
tetradic
#878E14 #148E58 #1B148E #8E144A
square
#878E14 #148E58 #1B148E #8E144A
split-complementary
#878E14 #144A8E #58148E
monochromatic
#212305 #54580C #878E14 #BAC41C #D9E339

Accessibility & contrast

On white

3.55
#878E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#878E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878E14
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878E14#FFFFFF#000000##000000
##878E141.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998921
Tritanopia (blue-blind)
#918579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #878e14;
/* rgb */ color: rgb(135, 142, 20);
/* oklch */ color: oklch(62.0% 0.133 113.2);
Tailwind
colors: {
  custom: {
    50: '#aeae60',
    500: '#878e14',
    950: '#000000',
  },
}
SCSS
$custom: #878e14;
$custom-light: #aeae60;
$custom-dark: #000000;
JSON
{
  "hex": "#878e14",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 63.443,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.62043,
    "c": 0.13305,
    "h": 113.2
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#878E14
secondary
#443CC2
accent
#36F241
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878E14

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

Preview Lab → · Contrast checker → · Palette generator →

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