#879920#879920

#879920 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.140 H 118.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#879920
RGBrgb(135, 153, 32)
HSLhsl(69, 65%, 36%)
HSVhsv(69, 79%, 60%)
CMYKcmyk(11.8%, 0%, 79.1%, 40%)
CIE-LABlab(59.92, -21.92, 56.36)
CIE-LCHlch(59.92, 60.47, 111.26°)
OKLaboklab(64.7% -0.066 0.1234)
OKLCHoklch(64.7% 0.14 118.1)
XYZxyz(21.6441, 28.0379, 5.6379)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879920 #322099
analogous
#996F20 #879920 #4B9920
triadic
#879920 #208799 #992087
tetradic
#879920 #20996F #322099 #99204B
square
#879920 #20996F #322099 #99204B
split-complementary
#879920 #204B99 #6F2099
monochromatic
#2E340B #5A6615 #879920 #B4CC2B #C8DC57

Accessibility & contrast

On white

3.18
#879920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#879920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879920
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879920#FFFFFF#000000##000000
##8799201.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#909083
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #879920;
/* rgb */ color: rgb(135, 153, 32);
/* oklch */ color: oklch(64.7% 0.140 118.1);
Tailwind
colors: {
  custom: {
    50: '#adb767',
    500: '#879920',
    950: '#000000',
  },
}
SCSS
$custom: #879920;
$custom-light: #adb767;
$custom-dark: #000000;
JSON
{
  "hex": "#879920",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 68.926,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64702,
    "c": 0.13994,
    "h": 118.1
  },
  "luminance": 0.28038
}

Semantic roles & 50–950 ramp

primary
#879920
secondary
#6555C0
accent
#3FE859
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879920

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

Preview Lab → · Contrast checker → · Palette generator →

#879920 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva