#879F1F#879F1F

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

Color values

HEX#879F1F
RGBrgb(135, 159, 31)
HSLhsl(71, 67%, 37%)
HSVhsv(71, 81%, 62%)
CMYKcmyk(15.1%, 0%, 80.5%, 37.6%)
CIE-LABlab(61.69, -24.96, 58.26)
CIE-LCHlch(61.69, 63.38, 113.19°)
OKLaboklab(66.13% -0.0744 0.1273)
OKLCHoklch(66.13% 0.147 120.3)
XYZxyz(22.6376, 30.0462, 5.9030)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F1F #371F9F
analogous
#9F771F #879F1F #479F1F
triadic
#879F1F #1F879F #9F1F87
tetradic
#879F1F #1F9F77 #371F9F #9F1F47
square
#879F1F #1F9F77 #371F9F #9F1F47
split-complementary
#879F1F #1F479F #771F9F
monochromatic
#30390B #5C6C15 #879F1F #B2D229 #C6DF5A

Accessibility & contrast

On white

3.00
#879F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##879F1F#FFFFFF#000000##000000
##879F1F1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f1f;
/* rgb */ color: rgb(135, 159, 31);
/* oklch */ color: oklch(66.1% 0.147 120.3);
Tailwind
colors: {
  custom: {
    50: '#aebb67',
    500: '#879f1f',
    950: '#000000',
  },
}
SCSS
$custom: #879f1f;
$custom-light: #aebb67;
$custom-dark: #000000;
JSON
{
  "hex": "#879f1f",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 71.25,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66128,
    "c": 0.14742,
    "h": 120.3
  },
  "luminance": 0.30046
}

Semantic roles & 50–950 ramp

primary
#879F1F
secondary
#6B57C3
accent
#3EEA5E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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