#879918#879918

#879918 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.144 H 118.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#879918
RGBrgb(135, 153, 24)
HSLhsl(68, 73%, 35%)
HSVhsv(68, 84%, 60%)
CMYKcmyk(11.8%, 0%, 84.3%, 40%)
CIE-LABlab(59.89, -22.23, 58.59)
CIE-LCHlch(59.89, 62.66, 110.77°)
OKLaboklab(64.66% -0.0674 0.1268)
OKLCHoklch(64.66% 0.144 118)
XYZxyz(21.5483, 27.9995, 5.1333)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879918 #2A1899
analogous
#996B18 #879918 #479918
triadic
#879918 #188799 #991887
tetradic
#879918 #18996B #2A1899 #991847
square
#879918 #18996B #2A1899 #991847
split-complementary
#879918 #184799 #6B1899
monochromatic
#2A2F07 #586410 #879918 #B6CE20 #CDE249

Accessibility & contrast

On white

3.18
#879918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#879918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879918
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879918#FFFFFF#000000##000000
##8799181.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#909082
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #879918;
/* rgb */ color: rgb(135, 153, 24);
/* oklch */ color: oklch(64.7% 0.144 118.0);
Tailwind
colors: {
  custom: {
    50: '#aeb763',
    500: '#879918',
    950: '#000000',
  },
}
SCSS
$custom: #879918;
$custom-light: #aeb763;
$custom-dark: #000000;
JSON
{
  "hex": "#879918",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 68.372,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.14357,
    "h": 118
  },
  "luminance": 0.27999
}

Semantic roles & 50–950 ramp

primary
#879918
secondary
#5A49C4
accent
#38F052
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879918

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

Preview Lab → · Contrast checker → · Palette generator →

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