#879528#879528

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

Color values

HEX#879528
RGBrgb(135, 149, 40)
HSLhsl(68, 58%, 37%)
HSVhsv(68, 73%, 58%)
CMYKcmyk(9.4%, 0%, 73.2%, 41.6%)
CIE-LABlab(58.79, -19.50, 52.55)
CIE-LCHlch(58.79, 56.06, 110.36°)
OKLaboklab(63.8% -0.0586 0.1168)
OKLCHoklch(63.8% 0.131 116.7)
XYZxyz(21.1226, 26.7993, 6.0671)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879528 #362895
analogous
#956C28 #879528 #519528
triadic
#879528 #288795 #952887
tetradic
#879528 #28956C #362895 #952851
square
#879528 #28956C #362895 #952851
split-complementary
#879528 #285195 #6C2895
monochromatic
#30350E #5B651B #879528 #B3C535 #C6D562

Accessibility & contrast

On white

3.30
#879528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#879528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879528
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879528#FFFFFF#000000##000000
##8795281.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D14
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#908C80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #879528;
/* rgb */ color: rgb(135, 149, 40);
/* oklch */ color: oklch(63.8% 0.131 116.7);
Tailwind
colors: {
  custom: {
    50: '#adb46a',
    500: '#879528',
    950: '#000000',
  },
}
SCSS
$custom: #879528;
$custom-light: #adb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#879528",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 67.706,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.13068,
    "h": 116.7
  },
  "luminance": 0.26799
}

Semantic roles & 50–950 ramp

primary
#879528
secondary
#6A5EBB
accent
#47E15B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879528

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

Preview Lab → · Contrast checker → · Palette generator →

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