#8CA71F#8CA71F

#8CA71F is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.4% C 0.155 H 121.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8CA71F
RGBrgb(140, 167, 31)
HSLhsl(72, 69%, 39%)
HSVhsv(72, 81%, 65%)
CMYKcmyk(16.2%, 0%, 81.4%, 34.5%)
CIE-LABlab(64.41, -26.75, 60.82)
CIE-LCHlch(64.41, 66.44, 113.74°)
OKLaboklab(68.41% -0.0796 0.1325)
OKLCHoklch(68.41% 0.155 121)
XYZxyz(24.8817, 33.3118, 6.4151)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA71F #3A1FA7
analogous
#A77E1F #8CA71F #48A71F
triadic
#8CA71F #1F8CA7 #A71F8C
tetradic
#8CA71F #1FA77E #3A1FA7 #A71F48
square
#8CA71F #1FA77E #3A1FA7 #A71F48
split-complementary
#8CA71F #1F48A7 #7E1FA7
monochromatic
#35400C #617315 #8CA71F #B6D82B #C7E15F

Accessibility & contrast

On white

2.74
#8CA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#8CA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA71F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA71F#FFFFFF#000000##000000
##8CA71F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#949E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca71f;
/* rgb */ color: rgb(140, 167, 31);
/* oklch */ color: oklch(68.4% 0.155 121.0);
Tailwind
colors: {
  custom: {
    50: '#b1c168',
    500: '#8ca71f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca71f;
$custom-light: #b1c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca71f",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 71.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.1546,
    "h": 121
  },
  "luminance": 0.33312
}

Semantic roles & 50–950 ramp

primary
#8CA71F
secondary
#715CC6
accent
#3CEC5F
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA71F

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

Preview Lab → · Contrast checker → · Palette generator →

#8CA71F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva