#8FA61F#8FA61F

#8FA61F is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.4% C 0.152 H 119.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8FA61F
RGBrgb(143, 166, 31)
HSLhsl(70, 69%, 39%)
HSVhsv(70, 81%, 65%)
CMYKcmyk(13.9%, 0%, 81.3%, 34.9%)
CIE-LABlab(64.33, -25.00, 60.83)
CIE-LCHlch(64.33, 65.76, 112.34°)
OKLaboklab(68.4% -0.0749 0.1325)
OKLCHoklch(68.4% 0.152 119.5)
XYZxyz(25.2118, 33.2112, 6.3783)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA61F #361FA6
analogous
#A6791F #8FA61F #4BA61F
triadic
#8FA61F #1F8FA6 #A61F8F
tetradic
#8FA61F #1FA679 #361FA6 #A61F4B
square
#8FA61F #1FA679 #361FA6 #A61F4B
split-complementary
#8FA61F #1F4BA6 #791FA6
monochromatic
#363F0C #637215 #8FA61F #BAD72B #CBE15E

Accessibility & contrast

On white

2.75
#8FA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8FA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA61F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA61F#FFFFFF#000000##000000
##8FA61F1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#989D8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa61f;
/* rgb */ color: rgb(143, 166, 31);
/* oklch */ color: oklch(68.4% 0.152 119.5);
Tailwind
colors: {
  custom: {
    50: '#b4c068',
    500: '#8fa61f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa61f;
$custom-light: #b4c068;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa61f",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 70.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.684,
    "c": 0.15219,
    "h": 119.5
  },
  "luminance": 0.33211
}

Semantic roles & 50–950 ramp

primary
#8FA61F
secondary
#6D5BC5
accent
#3CEB5A
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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