#878E1A#878E1A

#878E1A is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.1% C 0.131 H 113.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#878E1A
RGBrgb(135, 142, 26)
HSLhsl(64, 69%, 33%)
HSVhsv(64, 82%, 56%)
CMYKcmyk(4.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.66, -16.51, 55.24)
CIE-LCHlch(56.66, 57.66, 106.64°)
OKLaboklab(62.07% -0.0515 0.1199)
OKLCHoklch(62.07% 0.131 113.3)
XYZxyz(19.8518, 24.5719, 4.6742)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878E1A #211A8E
analogous
#8E5B1A #878E1A #4D8E1A
triadic
#878E1A #1A878E #8E1A87
tetradic
#878E1A #1A8E5B #211A8E #8E1A4D
square
#878E1A #1A8E5B #211A8E #8E1A4D
split-complementary
#878E1A #1A4D8E #5B1A8E
monochromatic
#252707 #565A11 #878E1A #B8C223 #D4DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878E1A#FFFFFF#000000##000000
##878E1A1.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)
#998925
Tritanopia (blue-blind)
#918579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #878e1a;
/* rgb */ color: rgb(135, 142, 26);
/* oklch */ color: oklch(62.1% 0.131 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae63',
    500: '#878e1a',
    950: '#000000',
  },
}
SCSS
$custom: #878e1a;
$custom-light: #adae63;
$custom-dark: #000000;
JSON
{
  "hex": "#878e1a",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 63.621,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62069,
    "c": 0.13053,
    "h": 113.3
  },
  "luminance": 0.24571
}

Semantic roles & 50–950 ramp

primary
#878E1A
secondary
#4D45BE
accent
#3CEC47
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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