#8FA921#8FA921

#8FA921 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.1% C 0.155 H 120.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8FA921
RGBrgb(143, 169, 33)
HSLhsl(71, 67%, 40%)
HSVhsv(71, 80%, 66%)
CMYKcmyk(15.4%, 0%, 80.5%, 33.7%)
CIE-LABlab(65.22, -26.38, 61.05)
CIE-LCHlch(65.22, 66.51, 113.37°)
OKLaboklab(69.12% -0.0786 0.1333)
OKLCHoklch(69.12% 0.155 120.5)
XYZxyz(25.7907, 34.3254, 6.7053)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA921 #3B21A9
analogous
#A97F21 #8FA921 #4BA921
triadic
#8FA921 #218FA9 #A9218F
tetradic
#8FA921 #21A97F #3B21A9 #A9214B
square
#8FA921 #21A97F #3B21A9 #A9214B
split-complementary
#8FA921 #214BA9 #7F21A9
monochromatic
#38430D #647617 #8FA921 #B7D731 #C9E164

Accessibility & contrast

On white

2.67
#8FA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8FA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA921
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA921#FFFFFF#000000##000000
##8FA9211.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#97A090
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa921;
/* rgb */ color: rgb(143, 169, 33);
/* oklch */ color: oklch(69.1% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#b4c269',
    500: '#8fa921',
    950: '#000000',
  },
}
SCSS
$custom: #8fa921;
$custom-light: #b4c269;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa921",
  "rgb": {
    "r": 143,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 71.471,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69119,
    "c": 0.15473,
    "h": 120.5
  },
  "luminance": 0.34325
}

Semantic roles & 50–950 ramp

primary
#8FA921
secondary
#7360C6
accent
#3EEA5F
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA921

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

Preview Lab → · Contrast checker → · Palette generator →

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