#8FBA42#8FBA42

#8FBA42 is a light, vivid yellow-green. Relative luminance 0.414; OKLCH L 73.4% C 0.155 H 126.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8FBA42
RGBrgb(143, 186, 66)
HSLhsl(82, 48%, 49%)
HSVhsv(82, 65%, 73%)
CMYKcmyk(23.1%, 0%, 64.5%, 27.1%)
CIE-LABlab(70.42, -32.56, 54.30)
CIE-LCHlch(70.42, 63.31, 120.95°)
OKLaboklab(73.39% -0.0928 0.1242)
OKLCHoklch(73.39% 0.155 126.8)
XYZxyz(29.8700, 41.3503, 11.5609)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FBA42 #6D42BA
analogous
#BAA942 #8FBA42 #53BA42
triadic
#8FBA42 #428FBA #BA428F
tetradic
#8FBA42 #42BAA9 #6D42BA #BA4253
square
#8FBA42 #42BAA9 #6D42BA #BA4253
split-complementary
#8FBA42 #4253BA #A942BA
monochromatic
#4A6022 #6C8D32 #8FBA42 #AACB6E #C4DB9B

Accessibility & contrast

On white

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

On black

9.27
#8FBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FBA42
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FBA42#FFFFFF#000000##000000
##8FBA421.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#94B2A1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8fba42;
/* rgb */ color: rgb(143, 186, 66);
/* oklch */ color: oklch(73.4% 0.155 126.8);
Tailwind
colors: {
  custom: {
    50: '#b3cf7c',
    500: '#8fba42',
    950: '#000000',
  },
}
SCSS
$custom: #8fba42;
$custom-light: #b3cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fba42",
  "rgb": {
    "r": 143,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 81.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73389,
    "c": 0.15505,
    "h": 126.8
  },
  "luminance": 0.41351
}

Semantic roles & 50–950 ramp

primary
#8FBA42
secondary
#A490C8
accent
#51D781
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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