#879F23#879F23

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

Color values

HEX#879F23
RGBrgb(135, 159, 35)
HSLhsl(72, 64%, 38%)
HSVhsv(72, 78%, 62%)
CMYKcmyk(15.1%, 0%, 78%, 37.6%)
CIE-LABlab(61.71, -24.78, 57.05)
CIE-LCHlch(61.71, 62.20, 113.48°)
OKLaboklab(66.15% -0.0736 0.1254)
OKLCHoklch(66.15% 0.145 120.4)
XYZxyz(22.6936, 30.0686, 6.1981)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F23 #3B239F
analogous
#9F7923 #879F23 #499F23
triadic
#879F23 #23879F #9F2387
tetradic
#879F23 #239F79 #3B239F #9F2349
square
#879F23 #239F79 #3B239F #9F2349
split-complementary
#879F23 #23499F #79239F
monochromatic
#323B0D #5C6D18 #879F23 #B2D12E #C4DC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879F23#FFFFFF#000000##000000
##879F231.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)
#A6952F
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f23;
/* rgb */ color: rgb(135, 159, 35);
/* oklch */ color: oklch(66.1% 0.145 120.4);
Tailwind
colors: {
  custom: {
    50: '#adbb69',
    500: '#879f23',
    950: '#000000',
  },
}
SCSS
$custom: #879f23;
$custom-light: #adbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#879f23",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 71.613,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6615,
    "c": 0.14541,
    "h": 120.4
  },
  "luminance": 0.30069
}

Semantic roles & 50–950 ramp

primary
#879F23
secondary
#705DC1
accent
#41E761
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879F23

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

Preview Lab → · Contrast checker → · Palette generator →

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