#8FA821#8FA821

#8FA821 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.9% C 0.154 H 120.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8FA821
RGBrgb(143, 168, 33)
HSLhsl(71, 67%, 39%)
HSVhsv(71, 80%, 66%)
CMYKcmyk(14.9%, 0%, 80.4%, 34.1%)
CIE-LABlab(64.93, -25.90, 60.79)
CIE-LCHlch(64.93, 66.08, 113.07°)
OKLaboklab(68.88% -0.0773 0.1327)
OKLCHoklch(68.88% 0.154 120.2)
XYZxyz(25.6054, 33.9548, 6.6436)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA821 #3A21A8
analogous
#A87E21 #8FA821 #4CA821
triadic
#8FA821 #218FA8 #A8218F
tetradic
#8FA821 #21A87E #3A21A8 #A8214C
square
#8FA821 #21A87E #3A21A8 #A8214C
split-complementary
#8FA821 #214CA8 #7E21A8
monochromatic
#38420D #637517 #8FA821 #B7D630 #C9E063

Accessibility & contrast

On white

2.70
#8FA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#8FA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA821
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA821#FFFFFF#000000##000000
##8FA8211.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#989F8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa821;
/* rgb */ color: rgb(143, 168, 33);
/* oklch */ color: oklch(68.9% 0.154 120.2);
Tailwind
colors: {
  custom: {
    50: '#b4c169',
    500: '#8fa821',
    950: '#000000',
  },
}
SCSS
$custom: #8fa821;
$custom-light: #b4c169;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa821",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 71.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.15357,
    "h": 120.2
  },
  "luminance": 0.33955
}

Semantic roles & 50–950 ramp

primary
#8FA821
secondary
#725FC5
accent
#3EEA5E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA821

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

Preview Lab → · Contrast checker → · Palette generator →

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