#8FA62F#8FA62F

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

Color values

HEX#8FA62F
RGBrgb(143, 166, 47)
HSLhsl(72, 56%, 42%)
HSVhsv(72, 72%, 65%)
CMYKcmyk(13.9%, 0%, 71.7%, 34.9%)
CIE-LABlab(64.42, -24.24, 55.67)
CIE-LCHlch(64.42, 60.72, 113.53°)
OKLaboklab(68.5% -0.0715 0.1243)
OKLCHoklch(68.5% 0.143 119.9)
XYZxyz(25.4775, 33.3174, 7.7775)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA62F #462FA6
analogous
#A6822F #8FA62F #53A62F
triadic
#8FA62F #2F8FA6 #A62F8F
tetradic
#8FA62F #2FA682 #462FA6 #A62F53
square
#8FA62F #2FA682 #462FA6 #A62F53
split-complementary
#8FA62F #2F53A6 #822FA6
monochromatic
#3D4714 #667621 #8FA62F #B2CB47 #C6D877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA62F#FFFFFF#000000##000000
##8FA62F1.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)
#B19C1A
Deuteranopia (green-blind)
#AE9C39
Tritanopia (blue-blind)
#979D8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa62f;
/* rgb */ color: rgb(143, 166, 47);
/* oklch */ color: oklch(68.5% 0.143 119.9);
Tailwind
colors: {
  custom: {
    50: '#b3c070',
    500: '#8fa62f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa62f;
$custom-light: #b3c070;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa62f",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 71.597,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68496,
    "c": 0.14341,
    "h": 119.9
  },
  "luminance": 0.33317
}

Semantic roles & 50–950 ramp

primary
#8FA62F
secondary
#8070C1
accent
#49DF66
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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