#8CAB2F#8CAB2F

#8CAB2F is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 69.5% C 0.151 H 122.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8CAB2F
RGBrgb(140, 171, 47)
HSLhsl(75, 57%, 43%)
HSVhsv(75, 73%, 67%)
CMYKcmyk(18.1%, 0%, 72.5%, 32.9%)
CIE-LABlab(65.68, -27.93, 56.84)
CIE-LCHlch(65.68, 63.33, 116.17°)
OKLaboklab(69.46% -0.0815 0.1268)
OKLCHoklch(69.46% 0.151 122.7)
XYZxyz(25.8915, 34.9064, 8.0623)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CAB2F #4E2FAB
analogous
#AB8C2F #8CAB2F #4EAB2F
triadic
#8CAB2F #2F8CAB #AB2F8C
tetradic
#8CAB2F #2FAB8C #4E2FAB #AB2F4E
square
#8CAB2F #2FAB8C #4E2FAB #AB2F4E
split-complementary
#8CAB2F #2F4EAB #8C2FAB
monochromatic
#3D4B15 #657B22 #8CAB2F #ACCD4A #C2DA7A

Accessibility & contrast

On white

2.63
#8CAB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#8CAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CAB2F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CAB2F#FFFFFF#000000##000000
##8CAB2F1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#93A293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8cab2f;
/* rgb */ color: rgb(140, 171, 47);
/* oklch */ color: oklch(69.5% 0.151 122.7);
Tailwind
colors: {
  custom: {
    50: '#b1c470',
    500: '#8cab2f',
    950: '#000000',
  },
}
SCSS
$custom: #8cab2f;
$custom-light: #b1c470;
$custom-dark: #000000;
JSON
{
  "hex": "#8cab2f",
  "rgb": {
    "r": 140,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 75,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69458,
    "c": 0.15078,
    "h": 122.7
  },
  "luminance": 0.34907
}

Semantic roles & 50–950 ramp

primary
#8CAB2F
secondary
#8773C3
accent
#48E06E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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