#8CA41F#8CA41F

#8CA41F is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.7% C 0.151 H 120.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8CA41F
RGBrgb(140, 164, 31)
HSLhsl(71, 68%, 38%)
HSVhsv(71, 81%, 64%)
CMYKcmyk(14.6%, 0%, 81.1%, 35.7%)
CIE-LABlab(63.53, -25.29, 60.03)
CIE-LCHlch(63.53, 65.14, 112.84°)
OKLaboklab(67.7% -0.0756 0.1309)
OKLCHoklch(67.7% 0.151 120)
XYZxyz(24.3385, 32.2254, 6.2340)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA41F #371FA4
analogous
#A4791F #8CA41F #49A41F
triadic
#8CA41F #1F8CA4 #A41F8C
tetradic
#8CA41F #1FA479 #371FA4 #A41F49
square
#8CA41F #1FA479 #371FA4 #A41F49
split-complementary
#8CA41F #1F49A4 #791FA4
monochromatic
#343D0C #607115 #8CA41F #B7D72A #C9E05D

Accessibility & contrast

On white

2.82
#8CA41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8CA41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA41F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA41F#FFFFFF#000000##000000
##8CA41F1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#949B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ca41f;
/* rgb */ color: rgb(140, 164, 31);
/* oklch */ color: oklch(67.7% 0.151 120.0);
Tailwind
colors: {
  custom: {
    50: '#b1bf68',
    500: '#8ca41f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca41f;
$custom-light: #b1bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca41f",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 70.827,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67698,
    "c": 0.15113,
    "h": 120
  },
  "luminance": 0.32225
}

Semantic roles & 50–950 ramp

primary
#8CA41F
secondary
#6D5AC5
accent
#3DEB5C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA41F

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

Preview Lab → · Contrast checker → · Palette generator →

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