#879722#879722

#879722 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#879722
RGBrgb(135, 151, 34)
HSLhsl(68, 63%, 36%)
HSVhsv(68, 77%, 59%)
CMYKcmyk(10.6%, 0%, 77.5%, 40.8%)
CIE-LABlab(59.34, -20.82, 55.18)
CIE-LCHlch(59.34, 58.98, 110.67°)
OKLaboklab(64.24% -0.0628 0.1213)
OKLCHoklch(64.24% 0.137 117.4)
XYZxyz(21.3475, 27.3999, 5.6772)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879722 #322297
analogous
#976D22 #879722 #4D9722
triadic
#879722 #228797 #972287
tetradic
#879722 #22976D #322297 #97224D
square
#879722 #22976D #322297 #97224D
split-complementary
#879722 #224D97 #6D2297
monochromatic
#2E330C #5A6517 #879722 #B4C92D #C8DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879722#FFFFFF#000000##000000
##8797221.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)
#A28F03
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#908E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #879722;
/* rgb */ color: rgb(135, 151, 34);
/* oklch */ color: oklch(64.2% 0.137 117.4);
Tailwind
colors: {
  custom: {
    50: '#adb567',
    500: '#879722',
    950: '#000000',
  },
}
SCSS
$custom: #879722;
$custom-light: #adb567;
$custom-dark: #000000;
JSON
{
  "hex": "#879722",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 68.205,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64239,
    "c": 0.13657,
    "h": 117.4
  },
  "luminance": 0.274
}

Semantic roles & 50–950 ramp

primary
#879722
secondary
#6557BE
accent
#42E658
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879722

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

Preview Lab → · Contrast checker → · Palette generator →

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