#8FA840#8FA840

#8FA840 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 69.1% C 0.133 H 121.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8FA840
RGBrgb(143, 168, 64)
HSLhsl(74, 45%, 45%)
HSVhsv(74, 62%, 66%)
CMYKcmyk(14.9%, 0%, 61.9%, 34.1%)
CIE-LABlab(65.13, -24.07, 49.44)
CIE-LCHlch(65.13, 54.99, 115.96°)
OKLaboklab(69.12% -0.0694 0.1137)
OKLCHoklch(69.12% 0.133 121.4)
XYZxyz(26.2560, 34.2151, 10.0704)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA840 #5940A8
analogous
#A88D40 #8FA840 #5BA840
triadic
#8FA840 #408FA8 #A8408F
tetradic
#8FA840 #40A88D #5940A8 #A8405B
square
#8FA840 #40A88D #5940A8 #A8405B
split-complementary
#8FA840 #405BA8 #8D40A8
monochromatic
#444F1E #697C2F #8FA840 #ACC362 #C3D48E

Accessibility & contrast

On white

2.68
#8FA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8FA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA840
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA840#FFFFFF#000000##000000
##8FA8401.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#AF9E47
Tritanopia (blue-blind)
#96A092
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa840;
/* rgb */ color: rgb(143, 168, 64);
/* oklch */ color: oklch(69.1% 0.133 121.4);
Tailwind
colors: {
  custom: {
    50: '#b2c179',
    500: '#8fa840',
    950: '#000000',
  },
}
SCSS
$custom: #8fa840;
$custom-light: #b2c179;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa840",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 74.423,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69115,
    "c": 0.13322,
    "h": 121.4
  },
  "luminance": 0.34215
}

Semantic roles & 50–950 ramp

primary
#8FA840
secondary
#9385BF
accent
#53D572
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA840

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

Preview Lab → · Contrast checker → · Palette generator →

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