#8FB131#8FB131

#8FB131 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.1% C 0.156 H 123.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8FB131
RGBrgb(143, 177, 49)
HSLhsl(76, 57%, 44%)
HSVhsv(76, 72%, 69%)
CMYKcmyk(19.2%, 0%, 72.3%, 30.6%)
CIE-LABlab(67.65, -29.46, 58.12)
CIE-LCHlch(67.65, 65.16, 116.88°)
OKLaboklab(71.11% -0.0858 0.1298)
OKLCHoklch(71.11% 0.156 123.5)
XYZxyz(27.6045, 37.5055, 8.6901)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB131 #5331B1
analogous
#B19331 #8FB131 #4FB131
triadic
#8FB131 #318FB1 #B1318F
tetradic
#8FB131 #31B193 #5331B1 #B1314F
square
#8FB131 #31B193 #5331B1 #B1314F
split-complementary
#8FB131 #314FB1 #9331B1
monochromatic
#425116 #688124 #8FB131 #ADCF51 #C4DC80

Accessibility & contrast

On white

2.47
#8FB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#8FB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB131
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB131#FFFFFF#000000##000000
##8FB1311.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#96A898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fb131;
/* rgb */ color: rgb(143, 177, 49);
/* oklch */ color: oklch(71.1% 0.156 123.5);
Tailwind
colors: {
  custom: {
    50: '#b3c872',
    500: '#8fb131',
    950: '#000000',
  },
}
SCSS
$custom: #8fb131;
$custom-light: #b3c872;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb131",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 75.938,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71112,
    "c": 0.15555,
    "h": 123.5
  },
  "luminance": 0.37506
}

Semantic roles & 50–950 ramp

primary
#8FB131
secondary
#8D79C5
accent
#48E070
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB131

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

Preview Lab → · Contrast checker → · Palette generator →

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