#879422#879422

#879422 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.5% C 0.133 H 116.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#879422
RGBrgb(135, 148, 34)
HSLhsl(67, 63%, 36%)
HSVhsv(67, 77%, 58%)
CMYKcmyk(8.8%, 0%, 77%, 42%)
CIE-LABlab(58.46, -19.29, 54.36)
CIE-LCHlch(58.46, 57.68, 109.54°)
OKLaboklab(63.53% -0.0586 0.1195)
OKLCHoklch(63.53% 0.133 116.1)
XYZxyz(20.8709, 26.4465, 5.5183)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879422 #2F2294
analogous
#946822 #879422 #4E9422
triadic
#879422 #228794 #942287
tetradic
#879422 #229468 #2F2294 #94224E
square
#879422 #229468 #2F2294 #94224E
split-complementary
#879422 #224E94 #682294
monochromatic
#2C300B #5A6217 #879422 #B4C62D #CAD958

Accessibility & contrast

On white

3.34
#879422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#879422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879422
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879422#FFFFFF#000000##000000
##8794221.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C05
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#908B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #879422;
/* rgb */ color: rgb(135, 148, 34);
/* oklch */ color: oklch(63.5% 0.133 116.1);
Tailwind
colors: {
  custom: {
    50: '#adb367',
    500: '#879422',
    950: '#000000',
  },
}
SCSS
$custom: #879422;
$custom-light: #adb367;
$custom-dark: #000000;
JSON
{
  "hex": "#879422",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 66.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.13311,
    "h": 116.1
  },
  "luminance": 0.26446
}

Semantic roles & 50–950 ramp

primary
#879422
secondary
#6155BD
accent
#42E655
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879422

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

Preview Lab → · Contrast checker → · Palette generator →

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