#8CA81C#8CA81C

#8CA81C is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.6% C 0.157 H 121.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8CA81C
RGBrgb(140, 168, 28)
HSLhsl(72, 71%, 38%)
HSVhsv(72, 83%, 66%)
CMYKcmyk(16.7%, 0%, 83.3%, 34.1%)
CIE-LABlab(64.70, -27.35, 61.87)
CIE-LCHlch(64.70, 67.64, 113.85°)
OKLaboklab(68.64% -0.0814 0.1343)
OKLCHoklch(68.64% 0.157 121.2)
XYZxyz(25.0279, 33.6646, 6.2778)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA81C #381CA8
analogous
#A87E1C #8CA81C #46A81C
triadic
#8CA81C #1C8CA8 #A81C8C
tetradic
#8CA81C #1CA87E #381CA8 #A81C46
square
#8CA81C #1CA87E #381CA8 #A81C46
split-complementary
#8CA81C #1C46A8 #7E1CA8
monochromatic
#353F0B #607413 #8CA81C #B7DB26 #C8E45B

Accessibility & contrast

On white

2.72
#8CA81C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8CA81C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA81C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA81C#FFFFFF#000000##000000
##8CA81C1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#AF9D2C
Tritanopia (blue-blind)
#949F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca81c;
/* rgb */ color: rgb(140, 168, 28);
/* oklch */ color: oklch(68.6% 0.157 121.2);
Tailwind
colors: {
  custom: {
    50: '#b2c167',
    500: '#8ca81c',
    950: '#000000',
  },
}
SCSS
$custom: #8ca81c;
$custom-light: #b2c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca81c",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 28
  },
  "hsl": {
    "h": 72,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68636,
    "c": 0.15703,
    "h": 121.2
  },
  "luminance": 0.33665
}

Semantic roles & 50–950 ramp

primary
#8CA81C
secondary
#6F58C7
accent
#3AEE5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA81C

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

Preview Lab → · Contrast checker → · Palette generator →

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