#879E1C#879E1C

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

Color values

HEX#879E1C
RGBrgb(135, 158, 28)
HSLhsl(71, 70%, 36%)
HSVhsv(71, 82%, 62%)
CMYKcmyk(14.6%, 0%, 82.3%, 38%)
CIE-LABlab(61.38, -24.58, 58.84)
CIE-LCHlch(61.38, 63.76, 112.67°)
OKLaboklab(65.87% -0.0736 0.128)
OKLCHoklch(65.87% 0.148 119.9)
XYZxyz(22.4286, 29.6886, 5.6473)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E1C #331C9E
analogous
#9E741C #879E1C #469E1C
triadic
#879E1C #1C879E #9E1C87
tetradic
#879E1C #1C9E74 #331C9E #9E1C46
square
#879E1C #1C9E74 #331C9E #9E1C46
split-complementary
#879E1C #1C469E #741C9E
monochromatic
#2E360A #5B6A13 #879E1C #B3D225 #C8E154

Accessibility & contrast

On white

3.03
#879E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##879E1C#FFFFFF#000000##000000
##879E1C1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879e1c;
/* rgb */ color: rgb(135, 158, 28);
/* oklch */ color: oklch(65.9% 0.148 119.9);
Tailwind
colors: {
  custom: {
    50: '#aeba66',
    500: '#879e1c',
    950: '#000000',
  },
}
SCSS
$custom: #879e1c;
$custom-light: #aeba66;
$custom-dark: #000000;
JSON
{
  "hex": "#879e1c",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 70.615,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65874,
    "c": 0.14762,
    "h": 119.9
  },
  "luminance": 0.29688
}

Semantic roles & 50–950 ramp

primary
#879E1C
secondary
#6652C4
accent
#3BED5B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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