#879B1A#879B1A

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

Color values

HEX#879B1A
RGBrgb(135, 155, 26)
HSLhsl(69, 71%, 35%)
HSVhsv(69, 83%, 61%)
CMYKcmyk(12.9%, 0%, 83.2%, 39.2%)
CIE-LABlab(60.49, -23.16, 58.59)
CIE-LCHlch(60.49, 63.00, 111.57°)
OKLaboklab(65.15% -0.0698 0.1271)
OKLCHoklch(65.15% 0.145 118.8)
XYZxyz(21.9000, 28.6683, 5.3569)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B1A #2E1A9B
analogous
#9B6E1A #879B1A #479B1A
triadic
#879B1A #1A879B #9B1A87
tetradic
#879B1A #1A9B6E #2E1A9B #9B1A47
square
#879B1A #1A9B6E #2E1A9B #9B1A47
split-complementary
#879B1A #1A479B #6E1A9B
monochromatic
#2C3208 #596711 #879B1A #B5CF23 #CAE14E

Accessibility & contrast

On white

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

On black

6.73
#879B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B1A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B1A#FFFFFF#000000##000000
##879B1A1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879b1a;
/* rgb */ color: rgb(135, 155, 26);
/* oklch */ color: oklch(65.1% 0.145 118.8);
Tailwind
colors: {
  custom: {
    50: '#aeb864',
    500: '#879b1a',
    950: '#000000',
  },
}
SCSS
$custom: #879b1a;
$custom-light: #aeb864;
$custom-dark: #000000;
JSON
{
  "hex": "#879b1a",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 26
  },
  "hsl": {
    "h": 69.302,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.14503,
    "h": 118.8
  },
  "luminance": 0.28668
}

Semantic roles & 50–950 ramp

primary
#879B1A
secondary
#604DC4
accent
#3AEE56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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