#8FA51A#8FA51A

#8FA51A is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.1% C 0.153 H 119.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8FA51A
RGBrgb(143, 165, 26)
HSLhsl(69, 73%, 37%)
HSVhsv(69, 84%, 65%)
CMYKcmyk(13.3%, 0%, 84.2%, 35.3%)
CIE-LABlab(64.02, -24.68, 61.87)
CIE-LCHlch(64.02, 66.61, 111.75°)
OKLaboklab(68.14% -0.0744 0.1338)
OKLCHoklch(68.14% 0.153 119.1)
XYZxyz(24.9699, 32.8247, 5.9974)
Luminance0.3282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA51A #301AA5
analogous
#A5751A #8FA51A #4AA51A
triadic
#8FA51A #1A8FA5 #A51A8F
tetradic
#8FA51A #1AA575 #301AA5 #A51A4A
square
#8FA51A #1AA575 #301AA5 #A51A4A
split-complementary
#8FA51A #1A4AA5 #751AA5
monochromatic
#333B09 #617012 #8FA51A #BDDA22 #CEE455

Accessibility & contrast

On white

2.78
#8FA51A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#8FA51A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA51A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA51A#FFFFFF#000000##000000
##8FA51A1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AE9C2A
Tritanopia (blue-blind)
#989C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa51a;
/* rgb */ color: rgb(143, 165, 26);
/* oklch */ color: oklch(68.1% 0.153 119.1);
Tailwind
colors: {
  custom: {
    50: '#b4bf66',
    500: '#8fa51a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa51a;
$custom-light: #b4bf66;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa51a",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 26
  },
  "hsl": {
    "h": 69.496,
    "s": 72.775,
    "l": 37.451
  },
  "oklch": {
    "l": 0.68142,
    "c": 0.15313,
    "h": 119.1
  },
  "luminance": 0.32824
}

Semantic roles & 50–950 ramp

primary
#8FA51A
secondary
#6654C7
accent
#38EF55
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #8FA51A

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

Preview Lab → · Contrast checker → · Palette generator →

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