#879A1F#879A1F

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

Color values

HEX#879A1F
RGBrgb(135, 154, 31)
HSLhsl(69, 66%, 36%)
HSVhsv(69, 80%, 60%)
CMYKcmyk(12.3%, 0%, 79.9%, 39.6%)
CIE-LABlab(60.21, -22.47, 56.93)
CIE-LCHlch(60.21, 61.20, 111.54°)
OKLaboklab(64.94% -0.0676 0.1244)
OKLCHoklch(64.94% 0.142 118.5)
XYZxyz(21.7951, 28.3612, 5.6221)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A1F #321F9A
analogous
#9A701F #879A1F #4A9A1F
triadic
#879A1F #1F879A #9A1F87
tetradic
#879A1F #1F9A70 #321F9A #9A1F4A
square
#879A1F #1F9A70 #321F9A #9A1F4A
split-complementary
#879A1F #1F4A9A #701F9A
monochromatic
#2E340A #5A6715 #879A1F #B4CD29 #C8DD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879A1F#FFFFFF#000000##000000
##879A1F1.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)
#A3922B
Tritanopia (blue-blind)
#909183
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a1f;
/* rgb */ color: rgb(135, 154, 31);
/* oklch */ color: oklch(64.9% 0.142 118.5);
Tailwind
colors: {
  custom: {
    50: '#adb766',
    500: '#879a1f',
    950: '#000000',
  },
}
SCSS
$custom: #879a1f;
$custom-light: #adb766;
$custom-dark: #000000;
JSON
{
  "hex": "#879a1f",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 69.268,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64935,
    "c": 0.1416,
    "h": 118.5
  },
  "luminance": 0.28361
}

Semantic roles & 50–950 ramp

primary
#879A1F
secondary
#6554C1
accent
#3EE959
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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