#879E1F#879E1F

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

Color values

HEX#879E1F
RGBrgb(135, 158, 31)
HSLhsl(71, 67%, 37%)
HSVhsv(71, 80%, 62%)
CMYKcmyk(14.6%, 0%, 80.4%, 38%)
CIE-LABlab(61.40, -24.46, 57.99)
CIE-LCHlch(61.40, 62.94, 112.87°)
OKLaboklab(65.89% -0.073 0.1267)
OKLCHoklch(65.89% 0.146 120)
XYZxyz(22.4663, 29.7036, 5.8459)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E1F #361F9E
analogous
#9E761F #879E1F #489E1F
triadic
#879E1F #1F879E #9E1F87
tetradic
#879E1F #1F9E76 #361F9E #9E1F48
square
#879E1F #1F9E76 #361F9E #9E1F48
split-complementary
#879E1F #1F489E #761F9E
monochromatic
#30380B #5B6B15 #879E1F #B3D129 #C6DE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879E1F#FFFFFF#000000##000000
##879E1F1.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)
#A89400
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e1f;
/* rgb */ color: rgb(135, 158, 31);
/* oklch */ color: oklch(65.9% 0.146 120.0);
Tailwind
colors: {
  custom: {
    50: '#aeba67',
    500: '#879e1f',
    950: '#000000',
  },
}
SCSS
$custom: #879e1f;
$custom-light: #aeba67;
$custom-dark: #000000;
JSON
{
  "hex": "#879e1f",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 70.866,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65889,
    "c": 0.14625,
    "h": 120
  },
  "luminance": 0.29704
}

Semantic roles & 50–950 ramp

primary
#879E1F
secondary
#6A56C2
accent
#3EEA5D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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