#8CA81D#8CA81D

#8CA81D 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#8CA81D
RGBrgb(140, 168, 29)
HSLhsl(72, 71%, 39%)
HSVhsv(72, 83%, 66%)
CMYKcmyk(16.7%, 0%, 82.7%, 34.1%)
CIE-LABlab(64.70, -27.31, 61.61)
CIE-LCHlch(64.70, 67.39, 113.91°)
OKLaboklab(68.64% -0.0812 0.1339)
OKLCHoklch(68.64% 0.157 121.2)
XYZxyz(25.0401, 33.6694, 6.3419)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA81D #391DA8
analogous
#A87E1D #8CA81D #47A81D
triadic
#8CA81D #1D8CA8 #A81D8C
tetradic
#8CA81D #1DA87E #391DA8 #A81D47
square
#8CA81D #1DA87E #391DA8 #A81D47
split-complementary
#8CA81D #1D47A8 #7E1DA8
monochromatic
#35400B #617414 #8CA81D #B6DA28 #C8E35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA81D#FFFFFF#000000##000000
##8CA81D1.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: #8ca81d;
/* rgb */ color: rgb(140, 168, 29);
/* oklch */ color: oklch(68.6% 0.157 121.2);
Tailwind
colors: {
  custom: {
    50: '#b1c168',
    500: '#8ca81d',
    950: '#000000',
  },
}
SCSS
$custom: #8ca81d;
$custom-light: #b1c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca81d",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 72.086,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6864,
    "c": 0.15662,
    "h": 121.2
  },
  "luminance": 0.33669
}

Semantic roles & 50–950 ramp

primary
#8CA81D
secondary
#705AC7
accent
#3AED5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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