#8FA62A#8FA62A

#8FA62A is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.5% C 0.146 H 119.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8FA62A
RGBrgb(143, 166, 42)
HSLhsl(71, 60%, 41%)
HSVhsv(71, 75%, 65%)
CMYKcmyk(13.9%, 0%, 74.7%, 34.9%)
CIE-LABlab(64.39, -24.51, 57.44)
CIE-LCHlch(64.39, 62.45, 113.11°)
OKLaboklab(68.46% -0.0727 0.1272)
OKLCHoklch(68.46% 0.147 119.8)
XYZxyz(25.3823, 33.2794, 7.2764)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA62A #412AA6
analogous
#A67F2A #8FA62A #51A62A
triadic
#8FA62A #2A8FA6 #A62A8F
tetradic
#8FA62A #2AA67F #412AA6 #A62A51
square
#8FA62A #2AA67F #412AA6 #A62A51
split-complementary
#8FA62A #2A51A6 #7F2AA6
monochromatic
#3B4411 #65751E #8FA62A #B4CE3F #C7DB70

Accessibility & contrast

On white

2.74
#8FA62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#8FA62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA62A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA62A#FFFFFF#000000##000000
##8FA62A1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0F
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#979D8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa62a;
/* rgb */ color: rgb(143, 166, 42);
/* oklch */ color: oklch(68.5% 0.146 119.8);
Tailwind
colors: {
  custom: {
    50: '#b3c06d',
    500: '#8fa62a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa62a;
$custom-light: #b3c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa62a",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 71.129,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.1465,
    "h": 119.8
  },
  "luminance": 0.33279
}

Semantic roles & 50–950 ramp

primary
#8FA62A
secondary
#7A6AC2
accent
#45E362
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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