#879721#879721

#879721 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.2% C 0.137 H 117.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#879721
RGBrgb(135, 151, 33)
HSLhsl(68, 64%, 36%)
HSVhsv(68, 78%, 59%)
CMYKcmyk(10.6%, 0%, 78.1%, 40.8%)
CIE-LABlab(59.34, -20.87, 55.50)
CIE-LCHlch(59.34, 59.30, 110.60°)
OKLaboklab(64.23% -0.063 0.1218)
OKLCHoklch(64.23% 0.137 117.4)
XYZxyz(21.3333, 27.3942, 5.6023)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879721 #312197
analogous
#976C21 #879721 #4C9721
triadic
#879721 #218797 #972187
tetradic
#879721 #21976C #312197 #97214C
square
#879721 #21976C #312197 #97214C
split-complementary
#879721 #214C97 #6C2197
monochromatic
#2D330B #5A6516 #879721 #B4C92C #C9DA58

Accessibility & contrast

On white

3.24
#879721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#879721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879721
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879721#FFFFFF#000000##000000
##8797211.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E01
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#908E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #879721;
/* rgb */ color: rgb(135, 151, 33);
/* oklch */ color: oklch(64.2% 0.137 117.4);
Tailwind
colors: {
  custom: {
    50: '#adb567',
    500: '#879721',
    950: '#000000',
  },
}
SCSS
$custom: #879721;
$custom-light: #adb567;
$custom-dark: #000000;
JSON
{
  "hex": "#879721",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 68.136,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.13711,
    "h": 117.4
  },
  "luminance": 0.27394
}

Semantic roles & 50–950 ramp

primary
#879721
secondary
#6455BE
accent
#41E757
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879721

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

Preview Lab → · Contrast checker → · Palette generator →

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