#879B1B#879B1B

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

Color values

HEX#879B1B
RGBrgb(135, 155, 27)
HSLhsl(69, 70%, 36%)
HSVhsv(69, 83%, 61%)
CMYKcmyk(12.9%, 0%, 82.6%, 39.2%)
CIE-LABlab(60.49, -23.12, 58.33)
CIE-LCHlch(60.49, 62.74, 111.63°)
OKLaboklab(65.15% -0.0697 0.1267)
OKLCHoklch(65.15% 0.145 118.8)
XYZxyz(21.9114, 28.6729, 5.4168)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B1B #2F1B9B
analogous
#9B6F1B #879B1B #479B1B
triadic
#879B1B #1B879B #9B1B87
tetradic
#879B1B #1B9B6F #2F1B9B #9B1B47
square
#879B1B #1B9B6F #2F1B9B #9B1B47
split-complementary
#879B1B #1B479B #6F1B9B
monochromatic
#2C3309 #5A6712 #879B1B #B4CF24 #CAE050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #879b1b;
/* rgb */ color: rgb(135, 155, 27);
/* oklch */ color: oklch(65.2% 0.145 118.8);
Tailwind
colors: {
  custom: {
    50: '#aeb865',
    500: '#879b1b',
    950: '#000000',
  },
}
SCSS
$custom: #879b1b;
$custom-light: #aeb865;
$custom-dark: #000000;
JSON
{
  "hex": "#879b1b",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 27
  },
  "hsl": {
    "h": 69.375,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65153,
    "c": 0.1446,
    "h": 118.8
  },
  "luminance": 0.28673
}

Semantic roles & 50–950 ramp

primary
#879B1B
secondary
#614FC3
accent
#3BED57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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