#879B1D#879B1D

#879B1D 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#879B1D
RGBrgb(135, 155, 29)
HSLhsl(70, 68%, 36%)
HSVhsv(70, 81%, 61%)
CMYKcmyk(12.9%, 0%, 81.3%, 39.2%)
CIE-LABlab(60.50, -23.05, 57.77)
CIE-LCHlch(60.50, 62.20, 111.75°)
OKLaboklab(65.16% -0.0693 0.1259)
OKLCHoklch(65.16% 0.144 118.8)
XYZxyz(21.9353, 28.6825, 5.5429)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B1D #311D9B
analogous
#9B701D #879B1D #489B1D
triadic
#879B1D #1D879B #9B1D87
tetradic
#879B1D #1D9B70 #311D9B #9B1D48
square
#879B1D #1D9B70 #311D9B #9B1D48
split-complementary
#879B1D #1D489B #701D9B
monochromatic
#2D340A #5A6713 #879B1D #B4CF27 #C9DF53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879B1D#FFFFFF#000000##000000
##879B1D1.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)
#A3922A
Tritanopia (blue-blind)
#909284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #879b1d;
/* rgb */ color: rgb(135, 155, 29);
/* oklch */ color: oklch(65.2% 0.144 118.8);
Tailwind
colors: {
  custom: {
    50: '#aeb866',
    500: '#879b1d',
    950: '#000000',
  },
}
SCSS
$custom: #879b1d;
$custom-light: #aeb866;
$custom-dark: #000000;
JSON
{
  "hex": "#879b1d",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 69.524,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65163,
    "c": 0.1437,
    "h": 118.8
  },
  "luminance": 0.28682
}

Semantic roles & 50–950 ramp

primary
#879B1D
secondary
#6452C2
accent
#3CEB58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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