#8FBA31#8FBA31

#8FBA31 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.3% C 0.167 H 125.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#8FBA31
RGBrgb(143, 186, 49)
HSLhsl(79, 58%, 46%)
HSVhsv(79, 74%, 73%)
CMYKcmyk(23.1%, 0%, 73.7%, 27.1%)
CIE-LABlab(70.30, -33.68, 60.71)
CIE-LCHlch(70.30, 69.43, 119.02°)
OKLaboklab(73.25% -0.0973 0.1352)
OKLCHoklch(73.25% 0.167 125.7)
XYZxyz(29.4412, 41.1788, 9.3023)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FBA31 #5C31BA
analogous
#BAA031 #8FBA31 #4ABA31
triadic
#8FBA31 #318FBA #BA318F
tetradic
#8FBA31 #31BAA0 #5C31BA #BA314A
square
#8FBA31 #31BAA0 #5C31BA #BA314A
split-complementary
#8FBA31 #314ABA #A031BA
monochromatic
#455917 #6A8A24 #8FBA31 #ABD256 #C3DF86

Accessibility & contrast

On white

2.27
#8FBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#8FBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FBA31
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FBA31#FFFFFF#000000##000000
##8FBA311.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE15
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#95B1A0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8fba31;
/* rgb */ color: rgb(143, 186, 49);
/* oklch */ color: oklch(73.3% 0.167 125.7);
Tailwind
colors: {
  custom: {
    50: '#b4cf73',
    500: '#8fba31',
    950: '#000000',
  },
}
SCSS
$custom: #8fba31;
$custom-light: #b4cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#8fba31",
  "rgb": {
    "r": 143,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 78.832,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.16659,
    "h": 125.7
  },
  "luminance": 0.41179
}

Semantic roles & 50–950 ramp

primary
#8FBA31
secondary
#957EC9
accent
#46E277
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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