#879C1D#879C1D

#879C1D is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.4% C 0.145 H 119.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#879C1D
RGBrgb(135, 156, 29)
HSLhsl(70, 69%, 36%)
HSVhsv(70, 81%, 61%)
CMYKcmyk(13.5%, 0%, 81.4%, 38.8%)
CIE-LABlab(60.80, -23.55, 58.04)
CIE-LCHlch(60.80, 62.63, 112.08°)
OKLaboklab(65.4% -0.0707 0.1264)
OKLCHoklch(65.4% 0.145 119.2)
XYZxyz(22.1024, 29.0167, 5.5986)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C1D #321D9C
analogous
#9C721D #879C1D #489C1D
triadic
#879C1D #1D879C #9C1D87
tetradic
#879C1D #1D9C72 #321D9C #9C1D48
square
#879C1D #1D9C72 #321D9C #9C1D48
split-complementary
#879C1D #1D489C #721D9C
monochromatic
#2E350A #5A6813 #879C1D #B4D027 #C8DF54

Accessibility & contrast

On white

3.09
#879C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#879C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879C1D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879C1D#FFFFFF#000000##000000
##879C1D1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#8F9385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879c1d;
/* rgb */ color: rgb(135, 156, 29);
/* oklch */ color: oklch(65.4% 0.145 119.2);
Tailwind
colors: {
  custom: {
    50: '#aeb966',
    500: '#879c1d',
    950: '#000000',
  },
}
SCSS
$custom: #879c1d;
$custom-light: #aeb966;
$custom-dark: #000000;
JSON
{
  "hex": "#879c1d",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 69.921,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65401,
    "c": 0.14486,
    "h": 119.2
  },
  "luminance": 0.29017
}

Semantic roles & 50–950 ramp

primary
#879C1D
secondary
#6552C2
accent
#3CEB59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879C1D

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

Preview Lab → · Contrast checker → · Palette generator →

#879C1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva