#8FA421#8FA421

#8FA421 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 67.9% C 0.149 H 118.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8FA421
RGBrgb(143, 164, 33)
HSLhsl(70, 66%, 39%)
HSVhsv(70, 80%, 64%)
CMYKcmyk(12.8%, 0%, 79.9%, 35.7%)
CIE-LABlab(63.75, -23.93, 59.74)
CIE-LCHlch(63.75, 64.36, 111.83°)
OKLaboklab(67.94% -0.0719 0.1305)
OKLCHoklch(67.94% 0.149 118.8)
XYZxyz(24.8782, 32.5006, 6.4012)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA421 #3621A4
analogous
#A47721 #8FA421 #4DA421
triadic
#8FA421 #218FA4 #A4218F
tetradic
#8FA421 #21A477 #3621A4 #A4214D
square
#8FA421 #21A477 #3621A4 #A4214D
split-complementary
#8FA421 #214DA4 #7721A4
monochromatic
#363E0C #637117 #8FA421 #BAD52D #CBDF60

Accessibility & contrast

On white

2.80
#8FA421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8FA421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA421
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA421#FFFFFF#000000##000000
##8FA4211.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#989B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa421;
/* rgb */ color: rgb(143, 164, 33);
/* oklch */ color: oklch(67.9% 0.149 118.8);
Tailwind
colors: {
  custom: {
    50: '#b3be69',
    500: '#8fa421',
    950: '#000000',
  },
}
SCSS
$custom: #8fa421;
$custom-light: #b3be69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa421",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 69.618,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67938,
    "c": 0.14897,
    "h": 118.8
  },
  "luminance": 0.325
}

Semantic roles & 50–950 ramp

primary
#8FA421
secondary
#6D5DC4
accent
#3EE95A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA421

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

Preview Lab → · Contrast checker → · Palette generator →

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