#879121#879121

#879121 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.8% C 0.130 H 114.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#879121
RGBrgb(135, 145, 33)
HSLhsl(65, 63%, 35%)
HSVhsv(65, 77%, 57%)
CMYKcmyk(6.9%, 0%, 77.2%, 43.1%)
CIE-LABlab(57.57, -17.79, 53.87)
CIE-LCHlch(57.57, 56.74, 108.27°)
OKLaboklab(62.81% -0.0545 0.1183)
OKLCHoklch(62.81% 0.13 114.7)
XYZxyz(20.3922, 25.5119, 5.2886)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879121 #2B2191
analogous
#916321 #879121 #4F9121
triadic
#879121 #218791 #912187
tetradic
#879121 #219163 #2B2191 #91214F
square
#879121 #219163 #2B2191 #91214F
split-complementary
#879121 #214F91 #632191
monochromatic
#2A2D0A #595F16 #879121 #B5C32C #CCD854

Accessibility & contrast

On white

3.44
#879121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#879121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879121
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879121#FFFFFF#000000##000000
##8791211.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8905
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#90887C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #879121;
/* rgb */ color: rgb(135, 145, 33);
/* oklch */ color: oklch(62.8% 0.130 114.7);
Tailwind
colors: {
  custom: {
    50: '#adb166',
    500: '#879121',
    950: '#000000',
  },
}
SCSS
$custom: #879121;
$custom-light: #adb166;
$custom-dark: #000000;
JSON
{
  "hex": "#879121",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 65.357,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62814,
    "c": 0.13026,
    "h": 114.7
  },
  "luminance": 0.25512
}

Semantic roles & 50–950 ramp

primary
#879121
secondary
#5B52BC
accent
#42E650
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879121

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

Preview Lab → · Contrast checker → · Palette generator →

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