#879421#879421

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

Color values

HEX#879421
RGBrgb(135, 148, 33)
HSLhsl(67, 64%, 35%)
HSVhsv(67, 78%, 58%)
CMYKcmyk(8.8%, 0%, 77.7%, 42%)
CIE-LABlab(58.45, -19.34, 54.69)
CIE-LCHlch(58.45, 58.01, 109.47°)
OKLaboklab(63.52% -0.0588 0.12)
OKLCHoklch(63.52% 0.134 116.1)
XYZxyz(20.8567, 26.4408, 5.4434)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879421 #2E2194
analogous
#946821 #879421 #4D9421
triadic
#879421 #218794 #942187
tetradic
#879421 #219468 #2E2194 #94214D
square
#879421 #219468 #2E2194 #94214D
split-complementary
#879421 #214D94 #682194
monochromatic
#2C300B #596216 #879421 #B5C62C #CAD956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879421#FFFFFF#000000##000000
##8794211.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)
#9F8C03
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#908B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #879421;
/* rgb */ color: rgb(135, 148, 33);
/* oklch */ color: oklch(63.5% 0.134 116.1);
Tailwind
colors: {
  custom: {
    50: '#adb366',
    500: '#879421',
    950: '#000000',
  },
}
SCSS
$custom: #879421;
$custom-light: #adb366;
$custom-dark: #000000;
JSON
{
  "hex": "#879421",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 33
  },
  "hsl": {
    "h": 66.783,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63522,
    "c": 0.13366,
    "h": 116.1
  },
  "luminance": 0.26441
}

Semantic roles & 50–950 ramp

primary
#879421
secondary
#6054BD
accent
#41E754
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879421

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

Preview Lab → · Contrast checker → · Palette generator →

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