#879122#879122

#879122 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#879122
RGBrgb(135, 145, 34)
HSLhsl(65, 62%, 35%)
HSVhsv(65, 77%, 57%)
CMYKcmyk(6.9%, 0%, 76.6%, 43.1%)
CIE-LABlab(57.58, -17.74, 53.54)
CIE-LCHlch(57.58, 56.40, 108.33°)
OKLaboklab(62.82% -0.0543 0.1178)
OKLCHoklch(62.82% 0.13 114.7)
XYZxyz(20.4064, 25.5176, 5.3635)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879122 #2C2291
analogous
#916322 #879122 #509122
triadic
#879122 #228791 #912287
tetradic
#879122 #229163 #2C2291 #912250
square
#879122 #229163 #2C2291 #912250
split-complementary
#879122 #225091 #632291
monochromatic
#2B2E0B #595F16 #879122 #B5C32E #CCD756

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879122#FFFFFF#000000##000000
##8791221.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)
#9C8907
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#90887C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #879122;
/* rgb */ color: rgb(135, 145, 34);
/* oklch */ color: oklch(62.8% 0.130 114.7);
Tailwind
colors: {
  custom: {
    50: '#adb166',
    500: '#879122',
    950: '#000000',
  },
}
SCSS
$custom: #879122;
$custom-light: #adb166;
$custom-dark: #000000;
JSON
{
  "hex": "#879122",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 65.405,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6282,
    "c": 0.1297,
    "h": 114.7
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#879122
secondary
#5D53BB
accent
#43E551
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879122

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

Preview Lab → · Contrast checker → · Palette generator →

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