#8FA42F#8FA42F

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

Color values

HEX#8FA42F
RGBrgb(143, 164, 47)
HSLhsl(71, 55%, 41%)
HSVhsv(71, 71%, 64%)
CMYKcmyk(12.8%, 0%, 71.3%, 35.7%)
CIE-LABlab(63.83, -23.25, 55.09)
CIE-LCHlch(63.83, 59.79, 112.88°)
OKLaboklab(68.03% -0.0688 0.1231)
OKLCHoklch(68.03% 0.141 119.2)
XYZxyz(25.1167, 32.5960, 7.6573)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA42F #442FA4
analogous
#A47F2F #8FA42F #55A42F
triadic
#8FA42F #2F8FA4 #A42F8F
tetradic
#8FA42F #2FA47F #442FA4 #A42F55
square
#8FA42F #2FA47F #442FA4 #A42F55
split-complementary
#8FA42F #2F55A4 #7F2FA4
monochromatic
#3C4514 #667421 #8FA42F #B2CA46 #C6D876

Accessibility & contrast

On white

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

On black

7.52
#8FA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA42F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA42F#FFFFFF#000000##000000
##8FA42F1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#979B8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa42f;
/* rgb */ color: rgb(143, 164, 47);
/* oklch */ color: oklch(68.0% 0.141 119.2);
Tailwind
colors: {
  custom: {
    50: '#b3bf6f',
    500: '#8fa42f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa42f;
$custom-light: #b3bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa42f",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 70.769,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68025,
    "c": 0.14101,
    "h": 119.2
  },
  "luminance": 0.32596
}

Semantic roles & 50–950 ramp

primary
#8FA42F
secondary
#7E6FC0
accent
#49DF64
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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