#879B1C#879B1C

#879B1C is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.2% C 0.144 H 118.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#879B1C
RGBrgb(135, 155, 28)
HSLhsl(69, 69%, 36%)
HSVhsv(69, 82%, 61%)
CMYKcmyk(12.9%, 0%, 81.9%, 39.2%)
CIE-LABlab(60.50, -23.09, 58.05)
CIE-LCHlch(60.50, 62.48, 111.69°)
OKLaboklab(65.16% -0.0695 0.1263)
OKLCHoklch(65.16% 0.144 118.8)
XYZxyz(21.9231, 28.6776, 5.4788)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B1C #301C9B
analogous
#9B6F1C #879B1C #479B1C
triadic
#879B1C #1C879B #9B1C87
tetradic
#879B1C #1C9B6F #301C9B #9B1C47
square
#879B1C #1C9B6F #301C9B #9B1C47
split-complementary
#879B1C #1C479B #6F1C9B
monochromatic
#2D3309 #5A6713 #879B1C #B4CF25 #C9E052

Accessibility & contrast

On white

3.12
#879B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#879B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B1C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B1C#FFFFFF#000000##000000
##879B1C1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#909284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #879b1c;
/* rgb */ color: rgb(135, 155, 28);
/* oklch */ color: oklch(65.2% 0.144 118.8);
Tailwind
colors: {
  custom: {
    50: '#aeb865',
    500: '#879b1c',
    950: '#000000',
  },
}
SCSS
$custom: #879b1c;
$custom-light: #aeb865;
$custom-dark: #000000;
JSON
{
  "hex": "#879b1c",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 28
  },
  "hsl": {
    "h": 69.449,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65158,
    "c": 0.14416,
    "h": 118.8
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#879B1C
secondary
#6250C3
accent
#3CEC57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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