#8CA81B#8CA81B

#8CA81B 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#8CA81B
RGBrgb(140, 168, 27)
HSLhsl(72, 72%, 38%)
HSVhsv(72, 84%, 66%)
CMYKcmyk(16.7%, 0%, 83.9%, 34.1%)
CIE-LABlab(64.69, -27.38, 62.11)
CIE-LCHlch(64.69, 67.88, 113.79°)
OKLaboklab(68.63% -0.0816 0.1347)
OKLCHoklch(68.63% 0.157 121.2)
XYZxyz(25.0162, 33.6599, 6.2158)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA81B #371BA8
analogous
#A87D1B #8CA81B #45A81B
triadic
#8CA81B #1B8CA8 #A81B8C
tetradic
#8CA81B #1BA87D #371BA8 #A81B45
square
#8CA81B #1BA87D #371BA8 #A81B45
split-complementary
#8CA81B #1B45A8 #7D1BA8
monochromatic
#343F0A #607313 #8CA81B #B7DC24 #C9E459

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA81B#FFFFFF#000000##000000
##8CA81B1.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)
#AF9D2B
Tritanopia (blue-blind)
#949F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca81b;
/* rgb */ color: rgb(140, 168, 27);
/* oklch */ color: oklch(68.6% 0.157 121.2);
Tailwind
colors: {
  custom: {
    50: '#b2c167',
    500: '#8ca81b',
    950: '#000000',
  },
}
SCSS
$custom: #8ca81b;
$custom-light: #b2c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca81b",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 71.915,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68632,
    "c": 0.15743,
    "h": 121.2
  },
  "luminance": 0.3366
}

Semantic roles & 50–950 ramp

primary
#8CA81B
secondary
#6D57C8
accent
#39EF5D
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA81B

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

Preview Lab → · Contrast checker → · Palette generator →

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