#879621#879621

#879621 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.0% C 0.136 H 116.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#879621
RGBrgb(135, 150, 33)
HSLhsl(68, 64%, 36%)
HSVhsv(68, 78%, 59%)
CMYKcmyk(10%, 0%, 78%, 41.2%)
CIE-LABlab(59.04, -20.36, 55.23)
CIE-LCHlch(59.04, 58.87, 110.23°)
OKLaboklab(64% -0.0616 0.1212)
OKLCHoklch(64% 0.136 116.9)
XYZxyz(21.1731, 27.0737, 5.5489)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879621 #302196
analogous
#966A21 #879621 #4C9621
triadic
#879621 #218796 #962187
tetradic
#879621 #21966A #302196 #96214C
square
#879621 #21966A #302196 #96214C
split-complementary
#879621 #214C96 #6A2196
monochromatic
#2D320B #5A6416 #879621 #B4C82C #C9DA57

Accessibility & contrast

On white

3.27
#879621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#879621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879621
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879621#FFFFFF#000000##000000
##8796211.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E01
Deuteranopia (green-blind)
#9F8F2C
Tritanopia (blue-blind)
#908D80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #879621;
/* rgb */ color: rgb(135, 150, 33);
/* oklch */ color: oklch(64.0% 0.136 116.9);
Tailwind
colors: {
  custom: {
    50: '#adb467',
    500: '#879621',
    950: '#000000',
  },
}
SCSS
$custom: #879621;
$custom-light: #adb467;
$custom-dark: #000000;
JSON
{
  "hex": "#879621",
  "rgb": {
    "r": 135,
    "g": 150,
    "b": 33
  },
  "hsl": {
    "h": 67.692,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63996,
    "c": 0.13595,
    "h": 116.9
  },
  "luminance": 0.27073
}

Semantic roles & 50–950 ramp

primary
#879621
secondary
#6255BE
accent
#41E756
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879621

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

Preview Lab → · Contrast checker → · Palette generator →

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