#8FB731#8FB731

#8FB731 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.5% C 0.163 H 125.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8FB731
RGBrgb(143, 183, 49)
HSLhsl(78, 58%, 45%)
HSVhsv(78, 73%, 72%)
CMYKcmyk(21.9%, 0%, 73.2%, 28.2%)
CIE-LABlab(69.42, -32.29, 59.85)
CIE-LCHlch(69.42, 68.00, 118.35°)
OKLaboklab(72.54% -0.0935 0.1334)
OKLCHoklch(72.54% 0.163 125)
XYZxyz(28.8158, 39.9280, 9.0939)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB731 #5931B7
analogous
#B79C31 #8FB731 #4CB731
triadic
#8FB731 #318FB7 #B7318F
tetradic
#8FB731 #31B79C #5931B7 #B7314C
square
#8FB731 #31B79C #5931B7 #B7314C
split-complementary
#8FB731 #314CB7 #9C31B7
monochromatic
#445617 #698724 #8FB731 #ACD154 #C3DE84

Accessibility & contrast

On white

2.34
#8FB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#8FB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB731
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB731#FFFFFF#000000##000000
##8FB7311.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#96AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8fb731;
/* rgb */ color: rgb(143, 183, 49);
/* oklch */ color: oklch(72.5% 0.163 125.0);
Tailwind
colors: {
  custom: {
    50: '#b3cc72',
    500: '#8fb731',
    950: '#000000',
  },
}
SCSS
$custom: #8fb731;
$custom-light: #b3cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb731",
  "rgb": {
    "r": 143,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 77.91,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72539,
    "c": 0.16292,
    "h": 125
  },
  "luminance": 0.39928
}

Semantic roles & 50–950 ramp

primary
#8FB731
secondary
#937CC8
accent
#47E175
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB731

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

Preview Lab → · Contrast checker → · Palette generator →

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