#879017#879017

#879017 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.5% C 0.134 H 114.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#879017
RGBrgb(135, 144, 23)
HSLhsl(64, 72%, 33%)
HSVhsv(64, 84%, 56%)
CMYKcmyk(6.2%, 0%, 84%, 43.5%)
CIE-LABlab(57.23, -17.66, 56.57)
CIE-LCHlch(57.23, 59.26, 107.34°)
OKLaboklab(62.53% -0.0549 0.1222)
OKLCHoklch(62.53% 0.134 114.2)
XYZxyz(20.1202, 25.1597, 4.6069)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879017 #201790
analogous
#905D17 #879017 #4A9017
triadic
#879017 #178790 #901787
tetradic
#879017 #17905D #201790 #90174A
square
#879017 #17905D #201790 #90174A
split-complementary
#879017 #174A90 #5D1790
monochromatic
#242606 #565B0F #879017 #B8C51F #D5E141

Accessibility & contrast

On white

3.48
#879017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#879017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879017
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879017#FFFFFF#000000##000000
##8790171.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8A24
Tritanopia (blue-blind)
#91877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #879017;
/* rgb */ color: rgb(135, 144, 23);
/* oklch */ color: oklch(62.5% 0.134 114.2);
Tailwind
colors: {
  custom: {
    50: '#aeb062',
    500: '#879017',
    950: '#000000',
  },
}
SCSS
$custom: #879017;
$custom-light: #aeb062;
$custom-dark: #000000;
JSON
{
  "hex": "#879017",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 64.463,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.13401,
    "h": 114.2
  },
  "luminance": 0.25159
}

Semantic roles & 50–950 ramp

primary
#879017
secondary
#4B42C1
accent
#39EF46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879017

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

Preview Lab → · Contrast checker → · Palette generator →

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