#8FBF42#8FBF42

#8FBF42 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.6% C 0.162 H 127.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#8FBF42
RGBrgb(143, 191, 66)
HSLhsl(83, 49%, 50%)
HSVhsv(83, 65%, 75%)
CMYKcmyk(25.1%, 0%, 65.4%, 25.1%)
CIE-LABlab(71.89, -34.87, 55.86)
CIE-LCHlch(71.89, 65.85, 121.98°)
OKLaboklab(74.58% -0.0992 0.1275)
OKLCHoklch(74.58% 0.162 127.9)
XYZxyz(30.9418, 43.4940, 11.9182)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FBF42 #7242BF
analogous
#BFB042 #8FBF42 #50BF42
triadic
#8FBF42 #428FBF #BF428F
tetradic
#8FBF42 #42BFB0 #7242BF #BF4250
square
#8FBF42 #42BFB0 #7242BF #BF4250
split-complementary
#8FBF42 #4250BF #B042BF
monochromatic
#4B6522 #6D9232 #8FBF42 #AACE70 #C5DE9D

Accessibility & contrast

On white

2.17
#8FBF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#8FBF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FBF42
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FBF42#FFFFFF#000000##000000
##8FBF421.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#C2AF4C
Tritanopia (blue-blind)
#94B7A5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #8fbf42;
/* rgb */ color: rgb(143, 191, 66);
/* oklch */ color: oklch(74.6% 0.162 127.9);
Tailwind
colors: {
  custom: {
    50: '#b3d27c',
    500: '#8fbf42',
    950: '#000000',
  },
}
SCSS
$custom: #8fbf42;
$custom-light: #b3d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fbf42",
  "rgb": {
    "r": 143,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 83.04,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74579,
    "c": 0.16154,
    "h": 127.9
  },
  "luminance": 0.43495
}

Semantic roles & 50–950 ramp

primary
#8FBF42
secondary
#A893CA
accent
#4FD984
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8FBF42

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

Preview Lab → · Contrast checker → · Palette generator →

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