#878E13#878E13

#878E13 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#878E13
RGBrgb(135, 142, 19)
HSLhsl(63, 76%, 32%)
HSVhsv(63, 87%, 56%)
CMYKcmyk(4.9%, 0%, 86.6%, 44.3%)
CIE-LABlab(56.63, -16.74, 57.05)
CIE-LCHlch(56.63, 59.46, 106.35°)
OKLaboklab(62.04% -0.0527 0.1226)
OKLCHoklch(62.04% 0.133 113.2)
XYZxyz(19.7829, 24.5444, 4.3114)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878E13 #1A138E
analogous
#8E5813 #878E13 #4A8E13
triadic
#878E13 #13878E #8E1387
tetradic
#878E13 #138E58 #1A138E #8E134A
square
#878E13 #138E58 #1A138E #8E134A
split-complementary
#878E13 #134A8E #58138E
monochromatic
#202205 #54580C #878E13 #BAC41A #DAE437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878E13#FFFFFF#000000##000000
##878E131.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: #878e13;
/* rgb */ color: rgb(135, 142, 19);
/* oklch */ color: oklch(62.0% 0.133 113.2);
Tailwind
colors: {
  custom: {
    50: '#aeae60',
    500: '#878e13',
    950: '#000000',
  },
}
SCSS
$custom: #878e13;
$custom-light: #aeae60;
$custom-dark: #000000;
JSON
{
  "hex": "#878e13",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 63.415,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.13342,
    "h": 113.2
  },
  "luminance": 0.24544
}

Semantic roles & 50–950 ramp

primary
#878E13
secondary
#423BC2
accent
#35F340
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878E13

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

Preview Lab → · Contrast checker → · Palette generator →

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