#8FA621#8FA621

#8FA621 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.4% C 0.151 H 119.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8FA621
RGBrgb(143, 166, 33)
HSLhsl(70, 67%, 39%)
HSVhsv(70, 80%, 65%)
CMYKcmyk(13.9%, 0%, 80.1%, 34.9%)
CIE-LABlab(64.34, -24.92, 60.27)
CIE-LCHlch(64.34, 65.21, 112.46°)
OKLaboklab(68.41% -0.0746 0.1316)
OKLCHoklch(68.41% 0.151 119.5)
XYZxyz(25.2390, 33.2220, 6.5214)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA621 #3821A6
analogous
#A67B21 #8FA621 #4DA621
triadic
#8FA621 #218FA6 #A6218F
tetradic
#8FA621 #21A67B #3821A6 #A6214D
square
#8FA621 #21A67B #3821A6 #A6214D
split-complementary
#8FA621 #214DA6 #7B21A6
monochromatic
#37400D #637317 #8FA621 #B9D62F #CAE062

Accessibility & contrast

On white

2.75
#8FA621 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8FA621 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA621
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA621#FFFFFF#000000##000000
##8FA6211.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#989D8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa621;
/* rgb */ color: rgb(143, 166, 33);
/* oklch */ color: oklch(68.4% 0.151 119.5);
Tailwind
colors: {
  custom: {
    50: '#b3c069',
    500: '#8fa621',
    950: '#000000',
  },
}
SCSS
$custom: #8fa621;
$custom-light: #b3c069;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa621",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 33
  },
  "hsl": {
    "h": 70.376,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6841,
    "c": 0.15127,
    "h": 119.5
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#8FA621
secondary
#705EC5
accent
#3EEA5C
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA621

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

Preview Lab → · Contrast checker → · Palette generator →

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