#879A20#879A20

#879A20 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 64.9% C 0.141 H 118.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#879A20
RGBrgb(135, 154, 32)
HSLhsl(69, 66%, 36%)
HSVhsv(69, 79%, 60%)
CMYKcmyk(12.3%, 0%, 79.2%, 39.6%)
CIE-LABlab(60.22, -22.43, 56.63)
CIE-LCHlch(60.22, 60.91, 111.61°)
OKLaboklab(64.94% -0.0674 0.124)
OKLCHoklch(64.94% 0.141 118.5)
XYZxyz(21.8085, 28.3666, 5.6926)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A20 #33209A
analogous
#9A7020 #879A20 #4A9A20
triadic
#879A20 #20879A #9A2087
tetradic
#879A20 #209A70 #33209A #9A204A
square
#879A20 #209A70 #33209A #9A204A
split-complementary
#879A20 #204A9A #70209A
monochromatic
#2E350B #5B6715 #879A20 #B3CD2B #C8DC58

Accessibility & contrast

On white

3.15
#879A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#879A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879A20
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879A20#FFFFFF#000000##000000
##879A201.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#909184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a20;
/* rgb */ color: rgb(135, 154, 32);
/* oklch */ color: oklch(64.9% 0.141 118.5);
Tailwind
colors: {
  custom: {
    50: '#adb767',
    500: '#879a20',
    950: '#000000',
  },
}
SCSS
$custom: #879a20;
$custom-light: #adb767;
$custom-dark: #000000;
JSON
{
  "hex": "#879a20",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 69.344,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.1411,
    "h": 118.5
  },
  "luminance": 0.28366
}

Semantic roles & 50–950 ramp

primary
#879A20
secondary
#6656C0
accent
#3FE95A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879A20

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

Preview Lab → · Contrast checker → · Palette generator →

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