#879518#879518

#879518 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.7% C 0.139 H 116.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#879518
RGBrgb(135, 149, 24)
HSLhsl(67, 72%, 34%)
HSVhsv(67, 84%, 58%)
CMYKcmyk(9.4%, 0%, 83.9%, 41.6%)
CIE-LABlab(58.71, -20.20, 57.58)
CIE-LCHlch(58.71, 61.02, 109.33°)
OKLaboklab(63.71% -0.0618 0.1246)
OKLCHoklch(63.71% 0.139 116.4)
XYZxyz(20.9046, 26.7120, 4.9187)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879518 #261895
analogous
#956518 #879518 #499518
triadic
#879518 #188795 #951887
tetradic
#879518 #189565 #261895 #951849
square
#879518 #189565 #261895 #951849
split-complementary
#879518 #184995 #651895
monochromatic
#272C07 #576010 #879518 #B7CA20 #D0E146

Accessibility & contrast

On white

3.31
#879518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#879518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879518
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879518#FFFFFF#000000##000000
##8795181.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9F8E25
Tritanopia (blue-blind)
#908C7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #879518;
/* rgb */ color: rgb(135, 149, 24);
/* oklch */ color: oklch(63.7% 0.139 116.4);
Tailwind
colors: {
  custom: {
    50: '#aeb463',
    500: '#879518',
    950: '#000000',
  },
}
SCSS
$custom: #879518;
$custom-light: #aeb463;
$custom-dark: #000000;
JSON
{
  "hex": "#879518",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 66.72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63713,
    "c": 0.13909,
    "h": 116.4
  },
  "luminance": 0.26712
}

Semantic roles & 50–950 ramp

primary
#879518
secondary
#5446C2
accent
#39EF4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879518

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

Preview Lab → · Contrast checker → · Palette generator →

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