#8FAC2C#8FAC2C

#8FAC2C is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.9% C 0.152 H 121.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8FAC2C
RGBrgb(143, 172, 44)
HSLhsl(74, 59%, 42%)
HSVhsv(74, 74%, 67%)
CMYKcmyk(16.9%, 0%, 74.4%, 32.5%)
CIE-LABlab(66.16, -27.34, 58.44)
CIE-LCHlch(66.16, 64.52, 115.07°)
OKLaboklab(69.89% -0.0803 0.1296)
OKLCHoklch(69.89% 0.153 121.8)
XYZxyz(26.5352, 35.5265, 7.8418)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAC2C #492CAC
analogous
#AC892C #8FAC2C #4FAC2C
triadic
#8FAC2C #2C8FAC #AC2C8F
tetradic
#8FAC2C #2CAC89 #492CAC #AC2C4F
square
#8FAC2C #2CAC89 #492CAC #AC2C4F
split-complementary
#8FAC2C #2C4FAC #892CAC
monochromatic
#3E4B13 #667B20 #8FAC2C #B0D046 #C5DC76

Accessibility & contrast

On white

2.59
#8FAC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#8FAC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAC2C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAC2C#FFFFFF#000000##000000
##8FAC2C1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A111
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#97A394
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8fac2c;
/* rgb */ color: rgb(143, 172, 44);
/* oklch */ color: oklch(69.9% 0.152 121.8);
Tailwind
colors: {
  custom: {
    50: '#b3c46f',
    500: '#8fac2c',
    950: '#000000',
  },
}
SCSS
$custom: #8fac2c;
$custom-light: #b3c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fac2c",
  "rgb": {
    "r": 143,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 73.594,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69893,
    "c": 0.1525,
    "h": 121.8
  },
  "luminance": 0.35527
}

Semantic roles & 50–950 ramp

primary
#8FAC2C
secondary
#8370C4
accent
#45E269
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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