#8FA42C#8FA42C

#8FA42C is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 68.0% C 0.143 H 119.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8FA42C
RGBrgb(143, 164, 44)
HSLhsl(71, 58%, 41%)
HSVhsv(71, 73%, 64%)
CMYKcmyk(12.8%, 0%, 73.2%, 35.7%)
CIE-LABlab(63.81, -23.41, 56.18)
CIE-LCHlch(63.81, 60.86, 112.63°)
OKLaboklab(68% -0.0695 0.1249)
OKLCHoklch(68% 0.143 119.1)
XYZxyz(25.0583, 32.5726, 7.3494)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA42C #412CA4
analogous
#A47D2C #8FA42C #53A42C
triadic
#8FA42C #2C8FA4 #A42C8F
tetradic
#8FA42C #2CA47D #412CA4 #A42C53
square
#8FA42C #2CA47D #412CA4 #A42C53
split-complementary
#8FA42C #2C53A4 #7D2CA4
monochromatic
#3B4312 #65741F #8FA42C #B4CC41 #C7D971

Accessibility & contrast

On white

2.79
#8FA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#8FA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA42C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA42C#FFFFFF#000000##000000
##8FA42C1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B15
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#989B8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa42c;
/* rgb */ color: rgb(143, 164, 44);
/* oklch */ color: oklch(68.0% 0.143 119.1);
Tailwind
colors: {
  custom: {
    50: '#b3bf6e',
    500: '#8fa42c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa42c;
$custom-light: #b3bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa42c",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 70.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68004,
    "c": 0.14292,
    "h": 119.1
  },
  "luminance": 0.32572
}

Semantic roles & 50–950 ramp

primary
#8FA42C
secondary
#7A6BC0
accent
#47E162
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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