#8FAC42#8FAC42

#8FAC42 is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 70.1% C 0.137 H 122.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8FAC42
RGBrgb(143, 172, 66)
HSLhsl(76, 45%, 47%)
HSVhsv(76, 62%, 67%)
CMYKcmyk(16.9%, 0%, 61.6%, 32.5%)
CIE-LABlab(66.32, -25.88, 49.85)
CIE-LCHlch(66.32, 56.17, 117.44°)
OKLaboklab(70.08% -0.0743 0.1148)
OKLCHoklch(70.08% 0.137 122.9)
XYZxyz(27.0638, 35.7379, 10.6255)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAC42 #5F42AC
analogous
#AC9442 #8FAC42 #5AAC42
triadic
#8FAC42 #428FAC #AC428F
tetradic
#8FAC42 #42AC94 #5F42AC #AC425A
square
#8FAC42 #42AC94 #5F42AC #AC425A
split-complementary
#8FAC42 #425AAC #9442AC
monochromatic
#455420 #6A8031 #8FAC42 #ABC567 #C3D693

Accessibility & contrast

On white

2.58
#8FAC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#8FAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAC42
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAC42#FFFFFF#000000##000000
##8FAC421.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A236
Deuteranopia (green-blind)
#B2A149
Tritanopia (blue-blind)
#96A496
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8fac42;
/* rgb */ color: rgb(143, 172, 66);
/* oklch */ color: oklch(70.1% 0.137 122.9);
Tailwind
colors: {
  custom: {
    50: '#b2c47b',
    500: '#8fac42',
    950: '#000000',
  },
}
SCSS
$custom: #8fac42;
$custom-light: #b2c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fac42",
  "rgb": {
    "r": 143,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 76.415,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70076,
    "c": 0.13675,
    "h": 122.9
  },
  "luminance": 0.35738
}

Semantic roles & 50–950 ramp

primary
#8FAC42
secondary
#9889C1
accent
#54D477
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8FAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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