#8FB431#8FB431

#8FB431 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.8% C 0.159 H 124.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8FB431
RGBrgb(143, 180, 49)
HSLhsl(77, 57%, 45%)
HSVhsv(77, 73%, 71%)
CMYKcmyk(20.6%, 0%, 72.8%, 29.4%)
CIE-LABlab(68.54, -30.88, 58.99)
CIE-LCHlch(68.54, 66.58, 117.63°)
OKLaboklab(71.83% -0.0897 0.1316)
OKLCHoklch(71.83% 0.159 124.3)
XYZxyz(28.2036, 38.7037, 8.8898)
Luminance0.3870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB431 #5631B4
analogous
#B49831 #8FB431 #4DB431
triadic
#8FB431 #318FB4 #B4318F
tetradic
#8FB431 #31B498 #5631B4 #B4314D
square
#8FB431 #31B498 #5631B4 #B4314D
split-complementary
#8FB431 #314DB4 #9831B4
monochromatic
#435417 #698424 #8FB431 #ACD052 #C3DD82

Accessibility & contrast

On white

2.40
#8FB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#8FB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB431
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB431#FFFFFF#000000##000000
##8FB4311.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#96AB9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb431;
/* rgb */ color: rgb(143, 180, 49);
/* oklch */ color: oklch(71.8% 0.159 124.3);
Tailwind
colors: {
  custom: {
    50: '#b3ca72',
    500: '#8fb431',
    950: '#000000',
  },
}
SCSS
$custom: #8fb431;
$custom-light: #b3ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb431",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 76.947,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71825,
    "c": 0.15923,
    "h": 124.3
  },
  "luminance": 0.38704
}

Semantic roles & 50–950 ramp

primary
#8FB431
secondary
#907BC6
accent
#47E073
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB431

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

Preview Lab → · Contrast checker → · Palette generator →

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