#879520#879520

#879520 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 63.8% C 0.135 H 116.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#879520
RGBrgb(135, 149, 32)
HSLhsl(67, 65%, 35%)
HSVhsv(67, 79%, 58%)
CMYKcmyk(9.4%, 0%, 78.5%, 41.6%)
CIE-LABlab(58.74, -19.89, 55.28)
CIE-LCHlch(58.74, 58.75, 109.79°)
OKLaboklab(63.75% -0.0604 0.1211)
OKLCHoklch(63.75% 0.135 116.5)
XYZxyz(21.0004, 26.7504, 5.4233)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879520 #2E2095
analogous
#956820 #879520 #4D9520
triadic
#879520 #208795 #952087
tetradic
#879520 #209568 #2E2095 #95204D
square
#879520 #209568 #2E2095 #95204D
split-complementary
#879520 #204D95 #682095
monochromatic
#2C300A #596315 #879520 #B5C72B #CADA55

Accessibility & contrast

On white

3.31
#879520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#879520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879520
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879520#FFFFFF#000000##000000
##8795201.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#908C7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #879520;
/* rgb */ color: rgb(135, 149, 32);
/* oklch */ color: oklch(63.8% 0.135 116.5);
Tailwind
colors: {
  custom: {
    50: '#adb466',
    500: '#879520',
    950: '#000000',
  },
}
SCSS
$custom: #879520;
$custom-light: #adb466;
$custom-dark: #000000;
JSON
{
  "hex": "#879520",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 67.179,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63753,
    "c": 0.13534,
    "h": 116.5
  },
  "luminance": 0.2675
}

Semantic roles & 50–950 ramp

primary
#879520
secondary
#6053BE
accent
#40E854
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879520

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

Preview Lab → · Contrast checker → · Palette generator →

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