#8FAC31#8FAC31

#8FAC31 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.9% C 0.149 H 122.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8FAC31
RGBrgb(143, 172, 49)
HSLhsl(74, 56%, 43%)
HSVhsv(74, 72%, 67%)
CMYKcmyk(16.9%, 0%, 71.5%, 32.5%)
CIE-LABlab(66.19, -27.06, 56.67)
CIE-LCHlch(66.19, 62.80, 115.52°)
OKLaboklab(69.93% -0.0791 0.1267)
OKLCHoklch(69.93% 0.149 122)
XYZxyz(26.6350, 35.5664, 8.3669)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAC31 #4E31AC
analogous
#AC8B31 #8FAC31 #52AC31
triadic
#8FAC31 #318FAC #AC318F
tetradic
#8FAC31 #31AC8B #4E31AC #AC3152
square
#8FAC31 #31AC8B #4E31AC #AC3152
split-complementary
#8FAC31 #3152AC #8B31AC
monochromatic
#404D16 #677C23 #8FAC31 #AFCC4E #C4DA7D

Accessibility & contrast

On white

2.59
#8FAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#8FAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAC31
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAC31#FFFFFF#000000##000000
##8FAC311.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21C
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#97A394
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8fac31;
/* rgb */ color: rgb(143, 172, 49);
/* oklch */ color: oklch(69.9% 0.149 122.0);
Tailwind
colors: {
  custom: {
    50: '#b3c471',
    500: '#8fac31',
    950: '#000000',
  },
}
SCSS
$custom: #8fac31;
$custom-light: #b3c471;
$custom-dark: #000000;
JSON
{
  "hex": "#8fac31",
  "rgb": {
    "r": 143,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 74.146,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.14942,
    "h": 122
  },
  "luminance": 0.35566
}

Semantic roles & 50–950 ramp

primary
#8FAC31
secondary
#8876C3
accent
#49DF6C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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