#879720#879720

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

Color values

HEX#879720
RGBrgb(135, 151, 32)
HSLhsl(68, 65%, 36%)
HSVhsv(68, 79%, 59%)
CMYKcmyk(10.6%, 0%, 78.8%, 40.8%)
CIE-LABlab(59.33, -20.91, 55.82)
CIE-LCHlch(59.33, 59.61, 110.54°)
OKLaboklab(64.23% -0.0632 0.1223)
OKLCHoklch(64.23% 0.138 117.3)
XYZxyz(21.3195, 27.3886, 5.5297)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879720 #302097
analogous
#976B20 #879720 #4B9720
triadic
#879720 #208797 #972087
tetradic
#879720 #20976B #302097 #97204B
square
#879720 #20976B #302097 #97204B
split-complementary
#879720 #204B97 #6B2097
monochromatic
#2D320B #5A6415 #879720 #B4C92B #C9DB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879720#FFFFFF#000000##000000
##8797201.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)
#A28E00
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#908E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #879720;
/* rgb */ color: rgb(135, 151, 32);
/* oklch */ color: oklch(64.2% 0.138 117.3);
Tailwind
colors: {
  custom: {
    50: '#adb566',
    500: '#879720',
    950: '#000000',
  },
}
SCSS
$custom: #879720;
$custom-light: #adb566;
$custom-dark: #000000;
JSON
{
  "hex": "#879720",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 68.067,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64227,
    "c": 0.13764,
    "h": 117.3
  },
  "luminance": 0.27388
}

Semantic roles & 50–950 ramp

primary
#879720
secondary
#6254BF
accent
#40E856
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879720

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

Preview Lab → · Contrast checker → · Palette generator →

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