#8FB831#8FB831

#8FB831 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.8% C 0.164 H 125.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8FB831
RGBrgb(143, 184, 49)
HSLhsl(78, 58%, 46%)
HSVhsv(78, 73%, 72%)
CMYKcmyk(22.3%, 0%, 73.4%, 27.8%)
CIE-LABlab(69.71, -32.75, 60.14)
CIE-LCHlch(69.71, 68.48, 118.58°)
OKLaboklab(72.78% -0.0948 0.134)
OKLCHoklch(72.78% 0.164 125.3)
XYZxyz(29.0228, 40.3420, 9.1629)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB831 #5A31B8
analogous
#B89D31 #8FB831 #4BB831
triadic
#8FB831 #318FB8 #B8318F
tetradic
#8FB831 #31B89D #5A31B8 #B8314B
square
#8FB831 #31B89D #5A31B8 #B8314B
split-complementary
#8FB831 #314BB8 #9D31B8
monochromatic
#445717 #698824 #8FB831 #ACD255 #C3DE85

Accessibility & contrast

On white

2.32
#8FB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#8FB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB831
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB831#FFFFFF#000000##000000
##8FB8311.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#95AF9E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8fb831;
/* rgb */ color: rgb(143, 184, 49);
/* oklch */ color: oklch(72.8% 0.164 125.3);
Tailwind
colors: {
  custom: {
    50: '#b3cd73',
    500: '#8fb831',
    950: '#000000',
  },
}
SCSS
$custom: #8fb831;
$custom-light: #b3cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb831",
  "rgb": {
    "r": 143,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 78.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72777,
    "c": 0.16414,
    "h": 125.3
  },
  "luminance": 0.40342
}

Semantic roles & 50–950 ramp

primary
#8FB831
secondary
#947DC8
accent
#47E176
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FB831

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

Preview Lab → · Contrast checker → · Palette generator →

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