#879E1B#879E1B

#879E1B 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#879E1B
RGBrgb(135, 158, 27)
HSLhsl(71, 71%, 36%)
HSVhsv(71, 83%, 62%)
CMYKcmyk(14.6%, 0%, 82.9%, 38%)
CIE-LABlab(61.38, -24.61, 59.10)
CIE-LCHlch(61.38, 64.02, 112.61°)
OKLaboklab(65.87% -0.0737 0.1284)
OKLCHoklch(65.87% 0.148 119.9)
XYZxyz(22.4168, 29.6839, 5.5853)
Luminance0.2968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E1B #321B9E
analogous
#9E741B #879E1B #469E1B
triadic
#879E1B #1B879E #9E1B87
tetradic
#879E1B #1B9E74 #321B9E #9E1B46
square
#879E1B #1B9E74 #321B9E #9E1B46
split-complementary
#879E1B #1B469E #741B9E
monochromatic
#2E3509 #5A6A12 #879E1B #B4D224 #C8E152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879E1B#FFFFFF#000000##000000
##879E1B1.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)
#A69429
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e1b;
/* rgb */ color: rgb(135, 158, 27);
/* oklch */ color: oklch(65.9% 0.148 119.9);
Tailwind
colors: {
  custom: {
    50: '#aeba65',
    500: '#879e1b',
    950: '#000000',
  },
}
SCSS
$custom: #879e1b;
$custom-light: #aeba65;
$custom-dark: #000000;
JSON
{
  "hex": "#879e1b",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 70.534,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6587,
    "c": 0.14805,
    "h": 119.9
  },
  "luminance": 0.29684
}

Semantic roles & 50–950 ramp

primary
#879E1B
secondary
#6551C4
accent
#3AEE5A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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