#879D23#879D23

#879D23 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.7% C 0.143 H 119.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#879D23
RGBrgb(135, 157, 35)
HSLhsl(71, 64%, 38%)
HSVhsv(71, 78%, 62%)
CMYKcmyk(14%, 0%, 77.7%, 38.4%)
CIE-LABlab(61.12, -23.79, 56.50)
CIE-LCHlch(61.12, 61.31, 112.83°)
OKLaboklab(65.67% -0.0709 0.1242)
OKLCHoklch(65.67% 0.143 119.7)
XYZxyz(22.3525, 29.3863, 6.0844)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D23 #39239D
analogous
#9D7623 #879D23 #4A9D23
triadic
#879D23 #23879D #9D2387
tetradic
#879D23 #239D76 #39239D #9D234A
square
#879D23 #239D76 #39239D #9D234A
split-complementary
#879D23 #234A9D #76239D
monochromatic
#31390D #5C6B18 #879D23 #B2CF2E #C5DB5F

Accessibility & contrast

On white

3.05
#879D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#879D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D23
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D23#FFFFFF#000000##000000
##879D231.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79402
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879d23;
/* rgb */ color: rgb(135, 157, 35);
/* oklch */ color: oklch(65.7% 0.143 119.7);
Tailwind
colors: {
  custom: {
    50: '#adb968',
    500: '#879d23',
    950: '#000000',
  },
}
SCSS
$custom: #879d23;
$custom-light: #adb968;
$custom-dark: #000000;
JSON
{
  "hex": "#879d23",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 70.82,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65672,
    "c": 0.14305,
    "h": 119.7
  },
  "luminance": 0.29386
}

Semantic roles & 50–950 ramp

primary
#879D23
secondary
#6E5CC0
accent
#41E75F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879D23

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

Preview Lab → · Contrast checker → · Palette generator →

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