#879F22#879F22

#879F22 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.146 H 120.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#879F22
RGBrgb(135, 159, 34)
HSLhsl(72, 65%, 38%)
HSVhsv(72, 79%, 62%)
CMYKcmyk(15.1%, 0%, 78.6%, 37.6%)
CIE-LABlab(61.71, -24.83, 57.36)
CIE-LCHlch(61.71, 62.51, 113.40°)
OKLaboklab(66.14% -0.0738 0.1259)
OKLCHoklch(66.14% 0.146 120.4)
XYZxyz(22.6790, 30.0627, 6.1210)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F22 #3A229F
analogous
#9F7822 #879F22 #489F22
triadic
#879F22 #22879F #9F2287
tetradic
#879F22 #229F78 #3A229F #9F2248
square
#879F22 #229F78 #3A229F #9F2248
split-complementary
#879F22 #22489F #78229F
monochromatic
#313A0C #5C6D17 #879F22 #B2D12D #C5DD5F

Accessibility & contrast

On white

2.99
#879F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#879F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F22
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F22#FFFFFF#000000##000000
##879F221.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f22;
/* rgb */ color: rgb(135, 159, 34);
/* oklch */ color: oklch(66.1% 0.146 120.4);
Tailwind
colors: {
  custom: {
    50: '#adbb68',
    500: '#879f22',
    950: '#000000',
  },
}
SCSS
$custom: #879f22;
$custom-light: #adbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#879f22",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 71.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66144,
    "c": 0.14594,
    "h": 120.4
  },
  "luminance": 0.30063
}

Semantic roles & 50–950 ramp

primary
#879F22
secondary
#6F5BC1
accent
#40E860
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879F22

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

Preview Lab → · Contrast checker → · Palette generator →

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