#879321#879321

#879321 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.3% C 0.133 H 115.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#879321
RGBrgb(135, 147, 33)
HSLhsl(66, 63%, 35%)
HSVhsv(66, 78%, 58%)
CMYKcmyk(8.2%, 0%, 77.6%, 42.4%)
CIE-LABlab(58.16, -18.82, 54.42)
CIE-LCHlch(58.16, 57.58, 109.08°)
OKLaboklab(63.29% -0.0574 0.1195)
OKLCHoklch(63.29% 0.133 115.7)
XYZxyz(20.7005, 26.1285, 5.3914)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879321 #2D2193
analogous
#936621 #879321 #4E9321
triadic
#879321 #218793 #932187
tetradic
#879321 #219366 #2D2193 #93214E
square
#879321 #219366 #2D2193 #93214E
split-complementary
#879321 #214E93 #662193
monochromatic
#2B2F0B #596116 #879321 #B5C52C #CBD955

Accessibility & contrast

On white

3.37
#879321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#879321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879321
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879321#FFFFFF#000000##000000
##8793211.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B03
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#908A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #879321;
/* rgb */ color: rgb(135, 147, 33);
/* oklch */ color: oklch(63.3% 0.133 115.7);
Tailwind
colors: {
  custom: {
    50: '#adb266',
    500: '#879321',
    950: '#000000',
  },
}
SCSS
$custom: #879321;
$custom-light: #adb266;
$custom-dark: #000000;
JSON
{
  "hex": "#879321",
  "rgb": {
    "r": 135,
    "g": 147,
    "b": 33
  },
  "hsl": {
    "h": 66.316,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.13253,
    "h": 115.7
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#879321
secondary
#5E53BD
accent
#41E653
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879321

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

Preview Lab → · Contrast checker → · Palette generator →

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