#879B1E#879B1E

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

Color values

HEX#879B1E
RGBrgb(135, 155, 30)
HSLhsl(70, 68%, 36%)
HSVhsv(70, 81%, 61%)
CMYKcmyk(12.9%, 0%, 80.6%, 39.2%)
CIE-LABlab(60.50, -23.01, 57.49)
CIE-LCHlch(60.50, 61.92, 111.81°)
OKLaboklab(65.17% -0.0691 0.1255)
OKLCHoklch(65.17% 0.143 118.9)
XYZxyz(21.9479, 28.6875, 5.6091)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B1E #321E9B
analogous
#9B711E #879B1E #499B1E
triadic
#879B1E #1E879B #9B1E87
tetradic
#879B1E #1E9B71 #321E9B #9B1E49
square
#879B1E #1E9B71 #321E9B #9B1E49
split-complementary
#879B1E #1E499B #711E9B
monochromatic
#2E340A #5A6814 #879B1E #B4CE28 #C8DE55

Accessibility & contrast

On white

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

On black

6.74
#879B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B1E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B1E#FFFFFF#000000##000000
##879B1E1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#8F9284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #879b1e;
/* rgb */ color: rgb(135, 155, 30);
/* oklch */ color: oklch(65.2% 0.143 118.9);
Tailwind
colors: {
  custom: {
    50: '#aeb866',
    500: '#879b1e',
    950: '#000000',
  },
}
SCSS
$custom: #879b1e;
$custom-light: #aeb866;
$custom-dark: #000000;
JSON
{
  "hex": "#879b1e",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 69.6,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.14324,
    "h": 118.9
  },
  "luminance": 0.28687
}

Semantic roles & 50–950 ramp

primary
#879B1E
secondary
#6553C2
accent
#3DEA59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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