#8FB531#8FB531

#8FB531 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.1% C 0.160 H 124.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8FB531
RGBrgb(143, 181, 49)
HSLhsl(77, 57%, 45%)
HSVhsv(77, 73%, 71%)
CMYKcmyk(21%, 0%, 72.9%, 29%)
CIE-LABlab(68.83, -31.35, 59.28)
CIE-LCHlch(68.83, 67.06, 117.88°)
OKLaboklab(72.06% -0.0909 0.1322)
OKLCHoklch(72.06% 0.16 124.5)
XYZxyz(28.4062, 39.1089, 8.9574)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB531 #5731B5
analogous
#B59931 #8FB531 #4DB531
triadic
#8FB531 #318FB5 #B5318F
tetradic
#8FB531 #31B599 #5731B5 #B5314D
square
#8FB531 #31B599 #5731B5 #B5314D
split-complementary
#8FB531 #314DB5 #9931B5
monochromatic
#435517 #698524 #8FB531 #ACD053 #C3DD83

Accessibility & contrast

On white

2.38
#8FB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#8FB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB531
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB531#FFFFFF#000000##000000
##8FB5311.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#96AC9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fb531;
/* rgb */ color: rgb(143, 181, 49);
/* oklch */ color: oklch(72.1% 0.160 124.5);
Tailwind
colors: {
  custom: {
    50: '#b3cb72',
    500: '#8fb531',
    950: '#000000',
  },
}
SCSS
$custom: #8fb531;
$custom-light: #b3cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb531",
  "rgb": {
    "r": 143,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 77.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72063,
    "c": 0.16046,
    "h": 124.5
  },
  "luminance": 0.39109
}

Semantic roles & 50–950 ramp

primary
#8FB531
secondary
#917BC7
accent
#47E173
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB531

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

Preview Lab → · Contrast checker → · Palette generator →

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