#878E1D#878E1D

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

Color values

HEX#878E1D
RGBrgb(135, 142, 29)
HSLhsl(64, 66%, 34%)
HSVhsv(64, 80%, 56%)
CMYKcmyk(4.9%, 0%, 79.6%, 44.3%)
CIE-LABlab(56.67, -16.40, 54.35)
CIE-LCHlch(56.67, 56.77, 106.79°)
OKLaboklab(62.09% -0.051 0.1186)
OKLCHoklch(62.09% 0.129 113.3)
XYZxyz(19.8871, 24.5860, 4.8601)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878E1D #241D8E
analogous
#8E5C1D #878E1D #4E8E1D
triadic
#878E1D #1D878E #8E1D87
tetradic
#878E1D #1D8E5C #241D8E #8E1D4E
square
#878E1D #1D8E5C #241D8E #8E1D4E
split-complementary
#878E1D #1D4E8E #5C1D8E
monochromatic
#262808 #575B13 #878E1D #B7C127 #D1DA4B

Accessibility & contrast

On white

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

On black

5.92
#878E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878E1D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878E1D#FFFFFF#000000##000000
##878E1D1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #878e1d;
/* rgb */ color: rgb(135, 142, 29);
/* oklch */ color: oklch(62.1% 0.129 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae64',
    500: '#878e1d',
    950: '#000000',
  },
}
SCSS
$custom: #878e1d;
$custom-light: #adae64;
$custom-dark: #000000;
JSON
{
  "hex": "#878e1d",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 63.717,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.12907,
    "h": 113.3
  },
  "luminance": 0.24586
}

Semantic roles & 50–950 ramp

primary
#878E1D
secondary
#514ABD
accent
#3FE949
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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