#879A1B#879A1B

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

Color values

HEX#879A1B
RGBrgb(135, 154, 27)
HSLhsl(69, 70%, 35%)
HSVhsv(69, 82%, 60%)
CMYKcmyk(12.3%, 0%, 82.5%, 39.6%)
CIE-LABlab(60.20, -22.62, 58.07)
CIE-LCHlch(60.20, 62.32, 111.29°)
OKLaboklab(64.92% -0.0683 0.1262)
OKLCHoklch(64.92% 0.143 118.4)
XYZxyz(21.7456, 28.3414, 5.3616)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A1B #2E1B9A
analogous
#9A6D1B #879A1B #489A1B
triadic
#879A1B #1B879A #9A1B87
tetradic
#879A1B #1B9A6D #2E1B9A #9A1B48
square
#879A1B #1B9A6D #2E1B9A #9A1B48
split-complementary
#879A1B #1B489A #6D1B9A
monochromatic
#2C3209 #596612 #879A1B #B5CE24 #CAE04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #879a1b;
/* rgb */ color: rgb(135, 154, 27);
/* oklch */ color: oklch(64.9% 0.143 118.4);
Tailwind
colors: {
  custom: {
    50: '#aeb765',
    500: '#879a1b',
    950: '#000000',
  },
}
SCSS
$custom: #879a1b;
$custom-light: #aeb765;
$custom-dark: #000000;
JSON
{
  "hex": "#879a1b",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 27
  },
  "hsl": {
    "h": 68.976,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64915,
    "c": 0.14346,
    "h": 118.4
  },
  "luminance": 0.28341
}

Semantic roles & 50–950 ramp

primary
#879A1B
secondary
#604EC3
accent
#3BED55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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