#8FA721#8FA721

#8FA721 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.6% C 0.152 H 119.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8FA721
RGBrgb(143, 167, 33)
HSLhsl(71, 67%, 39%)
HSVhsv(71, 80%, 65%)
CMYKcmyk(14.4%, 0%, 80.2%, 34.5%)
CIE-LABlab(64.63, -25.41, 60.53)
CIE-LCHlch(64.63, 65.65, 112.77°)
OKLaboklab(68.65% -0.0759 0.1322)
OKLCHoklch(68.65% 0.152 119.9)
XYZxyz(25.4215, 33.5870, 6.5823)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA721 #3921A7
analogous
#A77C21 #8FA721 #4CA721
triadic
#8FA721 #218FA7 #A7218F
tetradic
#8FA721 #21A77C #3921A7 #A7214C
square
#8FA721 #21A77C #3921A7 #A7214C
split-complementary
#8FA721 #214CA7 #7C21A7
monochromatic
#37410D #637417 #8FA721 #B8D62F #CAE062

Accessibility & contrast

On white

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

On black

7.72
#8FA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA721
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA721#FFFFFF#000000##000000
##8FA7211.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#989E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa721;
/* rgb */ color: rgb(143, 167, 33);
/* oklch */ color: oklch(68.6% 0.152 119.9);
Tailwind
colors: {
  custom: {
    50: '#b3c169',
    500: '#8fa721',
    950: '#000000',
  },
}
SCSS
$custom: #8fa721;
$custom-light: #b3c169;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa721",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 70.746,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68646,
    "c": 0.15242,
    "h": 119.9
  },
  "luminance": 0.33587
}

Semantic roles & 50–950 ramp

primary
#8FA721
secondary
#715FC5
accent
#3EEA5D
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA721

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

Preview Lab → · Contrast checker → · Palette generator →

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