#879428#879428

#879428 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.6% C 0.130 H 116.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#879428
RGBrgb(135, 148, 40)
HSLhsl(67, 57%, 37%)
HSVhsv(67, 73%, 58%)
CMYKcmyk(8.8%, 0%, 73%, 42%)
CIE-LABlab(58.49, -18.99, 52.27)
CIE-LCHlch(58.49, 55.61, 109.97°)
OKLaboklab(63.57% -0.0572 0.1162)
OKLCHoklch(63.57% 0.13 116.2)
XYZxyz(20.9651, 26.4842, 6.0146)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879428 #352894
analogous
#946B28 #879428 #519428
triadic
#879428 #288794 #942887
tetradic
#879428 #28946B #352894 #942851
square
#879428 #28946B #352894 #942851
split-complementary
#879428 #285194 #6B2894
monochromatic
#2F340E #5B641B #879428 #B3C435 #C7D562

Accessibility & contrast

On white

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

On black

6.30
#879428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879428
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879428#FFFFFF#000000##000000
##8794281.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879428;
/* rgb */ color: rgb(135, 148, 40);
/* oklch */ color: oklch(63.6% 0.130 116.2);
Tailwind
colors: {
  custom: {
    50: '#adb36a',
    500: '#879428',
    950: '#000000',
  },
}
SCSS
$custom: #879428;
$custom-light: #adb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#879428",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 67.222,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.1295,
    "h": 116.2
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

primary
#879428
secondary
#695EBA
accent
#47E15A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879428

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

Preview Lab → · Contrast checker → · Palette generator →

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