#879A1D#879A1D

#879A1D is a light, vivid yellow. Relative luminance 0.284; OKLCH L 64.9% C 0.143 H 118.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#879A1D
RGBrgb(135, 154, 29)
HSLhsl(69, 68%, 36%)
HSVhsv(69, 81%, 60%)
CMYKcmyk(12.3%, 0%, 81.2%, 39.6%)
CIE-LABlab(60.20, -22.55, 57.51)
CIE-LCHlch(60.20, 61.77, 111.41°)
OKLaboklab(64.93% -0.0679 0.1253)
OKLCHoklch(64.93% 0.143 118.5)
XYZxyz(21.7696, 28.3510, 5.4876)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A1D #301D9A
analogous
#9A6E1D #879A1D #489A1D
triadic
#879A1D #1D879A #9A1D87
tetradic
#879A1D #1D9A6E #301D9A #9A1D48
square
#879A1D #1D9A6E #301D9A #9A1D48
split-complementary
#879A1D #1D489A #6E1D9A
monochromatic
#2D330A #5A6613 #879A1D #B4CE27 #C9DF53

Accessibility & contrast

On white

3.15
#879A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#879A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879A1D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879A1D#FFFFFF#000000##000000
##879A1D1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#909183
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a1d;
/* rgb */ color: rgb(135, 154, 29);
/* oklch */ color: oklch(64.9% 0.143 118.5);
Tailwind
colors: {
  custom: {
    50: '#aeb766',
    500: '#879a1d',
    950: '#000000',
  },
}
SCSS
$custom: #879a1d;
$custom-light: #aeb766;
$custom-dark: #000000;
JSON
{
  "hex": "#879a1d",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 69.12,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64925,
    "c": 0.14256,
    "h": 118.5
  },
  "luminance": 0.28351
}

Semantic roles & 50–950 ramp

primary
#879A1D
secondary
#6251C2
accent
#3DEB57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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