#8CA821#8CA821

#8CA821 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.7% C 0.155 H 121.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8CA821
RGBrgb(140, 168, 33)
HSLhsl(72, 67%, 39%)
HSVhsv(72, 80%, 66%)
CMYKcmyk(16.7%, 0%, 80.4%, 34.1%)
CIE-LABlab(64.72, -27.16, 60.52)
CIE-LCHlch(64.72, 66.34, 114.17°)
OKLaboklab(68.66% -0.0806 0.1323)
OKLCHoklch(68.66% 0.155 121.3)
XYZxyz(25.0928, 33.6905, 6.6195)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA821 #3D21A8
analogous
#A88021 #8CA821 #49A821
triadic
#8CA821 #218CA8 #A8218C
tetradic
#8CA821 #21A880 #3D21A8 #A82149
square
#8CA821 #21A880 #3D21A8 #A82149
split-complementary
#8CA821 #2149A8 #8021A8
monochromatic
#37420D #617517 #8CA821 #B4D630 #C6E063

Accessibility & contrast

On white

2.71
#8CA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#8CA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA821
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA821#FFFFFF#000000##000000
##8CA8211.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca821;
/* rgb */ color: rgb(140, 168, 33);
/* oklch */ color: oklch(68.7% 0.155 121.3);
Tailwind
colors: {
  custom: {
    50: '#b1c169',
    500: '#8ca821',
    950: '#000000',
  },
}
SCSS
$custom: #8ca821;
$custom-light: #b1c169;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca821",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 72.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68659,
    "c": 0.15486,
    "h": 121.3
  },
  "luminance": 0.33691
}

Semantic roles & 50–950 ramp

primary
#8CA821
secondary
#755FC5
accent
#3EEA61
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA821

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

Preview Lab → · Contrast checker → · Palette generator →

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