#879824#879824

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

Color values

HEX#879824
RGBrgb(135, 152, 36)
HSLhsl(69, 62%, 37%)
HSVhsv(69, 76%, 60%)
CMYKcmyk(11.2%, 0%, 76.3%, 40.4%)
CIE-LABlab(59.65, -21.24, 54.80)
CIE-LCHlch(59.65, 58.77, 111.18°)
OKLaboklab(64.49% -0.0638 0.1208)
OKLCHoklch(64.49% 0.137 117.8)
XYZxyz(21.5389, 27.7350, 5.8874)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879824 #352498
analogous
#986F24 #879824 #4D9824
triadic
#879824 #248798 #982487
tetradic
#879824 #24986F #352498 #98244D
square
#879824 #24986F #352498 #98244D
split-complementary
#879824 #244D98 #6F2498
monochromatic
#2F350D #5B6718 #879824 #B3C930 #C7D95E

Accessibility & contrast

On white

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

On black

6.55
#879824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879824
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879824#FFFFFF#000000##000000
##8798241.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879824;
/* rgb */ color: rgb(135, 152, 36);
/* oklch */ color: oklch(64.5% 0.137 117.8);
Tailwind
colors: {
  custom: {
    50: '#adb668',
    500: '#879824',
    950: '#000000',
  },
}
SCSS
$custom: #879824;
$custom-light: #adb668;
$custom-dark: #000000;
JSON
{
  "hex": "#879824",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 68.793,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.13661,
    "h": 117.8
  },
  "luminance": 0.27735
}

Semantic roles & 50–950 ramp

primary
#879824
secondary
#695ABE
accent
#43E55B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879824

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

Preview Lab → · Contrast checker → · Palette generator →

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