#879E23#879E23

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

Color values

HEX#879E23
RGBrgb(135, 158, 35)
HSLhsl(71, 64%, 38%)
HSVhsv(71, 78%, 62%)
CMYKcmyk(14.6%, 0%, 77.8%, 38%)
CIE-LABlab(61.42, -24.29, 56.78)
CIE-LCHlch(61.42, 61.76, 113.16°)
OKLaboklab(65.91% -0.0723 0.1248)
OKLCHoklch(65.91% 0.144 120.1)
XYZxyz(22.5224, 29.7261, 6.1410)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E23 #3A239E
analogous
#9E7823 #879E23 #499E23
triadic
#879E23 #23879E #9E2387
tetradic
#879E23 #239E78 #3A239E #9E2349
square
#879E23 #239E78 #3A239E #9E2349
split-complementary
#879E23 #23499E #78239E
monochromatic
#313A0D #5C6C18 #879E23 #B2D02E #C5DC60

Accessibility & contrast

On white

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

On black

6.95
#879E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879E23
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879E23#FFFFFF#000000##000000
##879E231.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879e23;
/* rgb */ color: rgb(135, 158, 35);
/* oklch */ color: oklch(65.9% 0.144 120.1);
Tailwind
colors: {
  custom: {
    50: '#adba69',
    500: '#879e23',
    950: '#000000',
  },
}
SCSS
$custom: #879e23;
$custom-light: #adba69;
$custom-dark: #000000;
JSON
{
  "hex": "#879e23",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 71.22,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.14423,
    "h": 120.1
  },
  "luminance": 0.29726
}

Semantic roles & 50–950 ramp

primary
#879E23
secondary
#6F5CC1
accent
#41E760
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879E23

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

Preview Lab → · Contrast checker → · Palette generator →

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