#879820#879820

#879820 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.139 H 117.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#879820
RGBrgb(135, 152, 32)
HSLhsl(69, 65%, 36%)
HSVhsv(69, 79%, 60%)
CMYKcmyk(11.2%, 0%, 78.9%, 40.4%)
CIE-LABlab(59.63, -21.42, 56.09)
CIE-LCHlch(59.63, 60.04, 110.90°)
OKLaboklab(64.46% -0.0646 0.1228)
OKLCHoklch(64.46% 0.139 117.7)
XYZxyz(21.4811, 27.7119, 5.5835)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879820 #312098
analogous
#986D20 #879820 #4B9820
triadic
#879820 #208798 #982087
tetradic
#879820 #20986D #312098 #98204B
square
#879820 #20986D #312098 #98204B
split-complementary
#879820 #204B98 #6D2098
monochromatic
#2D330B #5A6515 #879820 #B4CB2B #C9DC57

Accessibility & contrast

On white

3.21
#879820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#879820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879820
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879820#FFFFFF#000000##000000
##8798201.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#908F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #879820;
/* rgb */ color: rgb(135, 152, 32);
/* oklch */ color: oklch(64.5% 0.139 117.7);
Tailwind
colors: {
  custom: {
    50: '#adb666',
    500: '#879820',
    950: '#000000',
  },
}
SCSS
$custom: #879820;
$custom-light: #adb666;
$custom-dark: #000000;
JSON
{
  "hex": "#879820",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 68.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.13879,
    "h": 117.7
  },
  "luminance": 0.27712
}

Semantic roles & 50–950 ramp

primary
#879820
secondary
#6454BF
accent
#40E857
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879820

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

Preview Lab → · Contrast checker → · Palette generator →

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