#879B22#879B22

#879B22 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.2% C 0.141 H 118.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#879B22
RGBrgb(135, 155, 34)
HSLhsl(70, 64%, 37%)
HSVhsv(70, 78%, 61%)
CMYKcmyk(12.9%, 0%, 78.1%, 39.2%)
CIE-LABlab(60.52, -22.84, 56.28)
CIE-LCHlch(60.52, 60.73, 112.09°)
OKLaboklab(65.19% -0.0684 0.1236)
OKLCHoklch(65.19% 0.141 118.9)
XYZxyz(22.0022, 28.7092, 5.8954)
Luminance0.2871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B22 #36229B
analogous
#9B7222 #879B22 #4B9B22
triadic
#879B22 #22879B #9B2287
tetradic
#879B22 #229B72 #36229B #9B224B
square
#879B22 #229B72 #36229B #9B224B
split-complementary
#879B22 #224B9B #72229B
monochromatic
#30370C #5B6917 #879B22 #B3CD2D #C6DB5C

Accessibility & contrast

On white

3.11
#879B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#879B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B22
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B22#FFFFFF#000000##000000
##879B221.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#8F9284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #879b22;
/* rgb */ color: rgb(135, 155, 34);
/* oklch */ color: oklch(65.2% 0.141 118.9);
Tailwind
colors: {
  custom: {
    50: '#adb868',
    500: '#879b22',
    950: '#000000',
  },
}
SCSS
$custom: #879b22;
$custom-light: #adb868;
$custom-dark: #000000;
JSON
{
  "hex": "#879b22",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 69.917,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6519,
    "c": 0.14123,
    "h": 118.9
  },
  "luminance": 0.28709
}

Semantic roles & 50–950 ramp

primary
#879B22
secondary
#6A59C0
accent
#41E75C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879B22

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

Preview Lab → · Contrast checker → · Palette generator →

#879B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva