#8CA61F#8CA61F

#8CA61F is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.2% C 0.153 H 120.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8CA61F
RGBrgb(140, 166, 31)
HSLhsl(72, 69%, 39%)
HSVhsv(72, 81%, 65%)
CMYKcmyk(15.7%, 0%, 81.3%, 34.9%)
CIE-LABlab(64.12, -26.27, 60.56)
CIE-LCHlch(64.12, 66.01, 113.45°)
OKLaboklab(68.17% -0.0782 0.132)
OKLCHoklch(68.17% 0.153 120.7)
XYZxyz(24.6992, 32.9469, 6.3542)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA61F #391FA6
analogous
#A67C1F #8CA61F #48A61F
triadic
#8CA61F #1F8CA6 #A61F8C
tetradic
#8CA61F #1FA67C #391FA6 #A61F48
square
#8CA61F #1FA67C #391FA6 #A61F48
split-complementary
#8CA61F #1F48A6 #7C1FA6
monochromatic
#353F0C #617215 #8CA61F #B6D72B #C8E15E

Accessibility & contrast

On white

2.77
#8CA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#8CA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA61F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA61F#FFFFFF#000000##000000
##8CA61F1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#949D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca61f;
/* rgb */ color: rgb(140, 166, 31);
/* oklch */ color: oklch(68.2% 0.153 120.7);
Tailwind
colors: {
  custom: {
    50: '#b1c068',
    500: '#8ca61f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca61f;
$custom-light: #b1c068;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca61f",
  "rgb": {
    "r": 140,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 71.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68174,
    "c": 0.15344,
    "h": 120.7
  },
  "luminance": 0.32947
}

Semantic roles & 50–950 ramp

primary
#8CA61F
secondary
#705BC5
accent
#3CEB5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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