#879E22#879E22

#879E22 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.9% C 0.145 H 120.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#879E22
RGBrgb(135, 158, 34)
HSLhsl(71, 65%, 38%)
HSVhsv(71, 78%, 62%)
CMYKcmyk(14.6%, 0%, 78.5%, 38%)
CIE-LABlab(61.41, -24.33, 57.09)
CIE-LCHlch(61.41, 62.06, 113.08°)
OKLaboklab(65.91% -0.0725 0.1253)
OKLCHoklch(65.91% 0.145 120)
XYZxyz(22.5077, 29.7202, 6.0639)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E22 #39229E
analogous
#9E7722 #879E22 #499E22
triadic
#879E22 #22879E #9E2287
tetradic
#879E22 #229E77 #39229E #9E2249
square
#879E22 #229E77 #39229E #9E2249
split-complementary
#879E22 #22499E #77229E
monochromatic
#31390C #5C6C17 #879E22 #B2D02D #C5DC5E

Accessibility & contrast

On white

3.02
#879E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#879E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879E22
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879E22#FFFFFF#000000##000000
##879E221.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e22;
/* rgb */ color: rgb(135, 158, 34);
/* oklch */ color: oklch(65.9% 0.145 120.0);
Tailwind
colors: {
  custom: {
    50: '#adba68',
    500: '#879e22',
    950: '#000000',
  },
}
SCSS
$custom: #879e22;
$custom-light: #adba68;
$custom-dark: #000000;
JSON
{
  "hex": "#879e22",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 71.129,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.14476,
    "h": 120
  },
  "luminance": 0.2972
}

Semantic roles & 50–950 ramp

primary
#879E22
secondary
#6E5BC1
accent
#40E85F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879E22

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

Preview Lab → · Contrast checker → · Palette generator →

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