#8FB931#8FB931

#8FB931 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.0% C 0.165 H 125.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#8FB931
RGBrgb(143, 185, 49)
HSLhsl(79, 58%, 46%)
HSVhsv(79, 74%, 73%)
CMYKcmyk(22.7%, 0%, 73.5%, 27.5%)
CIE-LABlab(70.01, -33.22, 60.42)
CIE-LCHlch(70.01, 68.95, 118.80°)
OKLaboklab(73.02% -0.0961 0.1346)
OKLCHoklch(73.02% 0.165 125.5)
XYZxyz(29.2312, 40.7589, 9.2324)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB931 #5B31B9
analogous
#B99F31 #8FB931 #4BB931
triadic
#8FB931 #318FB9 #B9318F
tetradic
#8FB931 #31B99F #5B31B9 #B9314B
square
#8FB931 #31B99F #5B31B9 #B9314B
split-complementary
#8FB931 #314BB9 #9F31B9
monochromatic
#445817 #6A8924 #8FB931 #ABD255 #C3DF86

Accessibility & contrast

On white

2.29
#8FB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#8FB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB931
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB931#FFFFFF#000000##000000
##8FB9311.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD16
Deuteranopia (green-blind)
#BDAB3D
Tritanopia (blue-blind)
#95B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8fb931;
/* rgb */ color: rgb(143, 185, 49);
/* oklch */ color: oklch(73.0% 0.165 125.5);
Tailwind
colors: {
  custom: {
    50: '#b4ce73',
    500: '#8fb931',
    950: '#000000',
  },
}
SCSS
$custom: #8fb931;
$custom-light: #b4ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb931",
  "rgb": {
    "r": 143,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 78.529,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73016,
    "c": 0.16536,
    "h": 125.5
  },
  "luminance": 0.40759
}

Semantic roles & 50–950 ramp

primary
#8FB931
secondary
#957DC8
accent
#46E176
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FB931

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

Preview Lab → · Contrast checker → · Palette generator →

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