#879522#879522

#879522 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 63.8% C 0.134 H 116.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#879522
RGBrgb(135, 149, 34)
HSLhsl(67, 63%, 36%)
HSVhsv(67, 77%, 58%)
CMYKcmyk(9.4%, 0%, 77.2%, 41.6%)
CIE-LABlab(58.75, -19.80, 54.64)
CIE-LCHlch(58.75, 58.12, 109.92°)
OKLaboklab(63.77% -0.06 0.1201)
OKLCHoklch(63.77% 0.134 116.5)
XYZxyz(21.0284, 26.7616, 5.5708)
Luminance0.2676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879522 #302295
analogous
#956922 #879522 #4D9522
triadic
#879522 #228795 #952287
tetradic
#879522 #229569 #302295 #95224D
square
#879522 #229569 #302295 #95224D
split-complementary
#879522 #224D95 #692295
monochromatic
#2D310B #5A6317 #879522 #B4C72D #C9D958

Accessibility & contrast

On white

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

On black

6.35
#879522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879522
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879522#FFFFFF#000000##000000
##8795221.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879522;
/* rgb */ color: rgb(135, 149, 34);
/* oklch */ color: oklch(63.8% 0.134 116.5);
Tailwind
colors: {
  custom: {
    50: '#adb467',
    500: '#879522',
    950: '#000000',
  },
}
SCSS
$custom: #879522;
$custom-light: #adb467;
$custom-dark: #000000;
JSON
{
  "hex": "#879522",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 67.304,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.13426,
    "h": 116.5
  },
  "luminance": 0.26761
}

Semantic roles & 50–950 ramp

primary
#879522
secondary
#6256BD
accent
#42E656
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879522

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

Preview Lab → · Contrast checker → · Palette generator →

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