#8FA61C#8FA61C

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

Color values

HEX#8FA61C
RGBrgb(143, 166, 28)
HSLhsl(70, 71%, 38%)
HSVhsv(70, 83%, 65%)
CMYKcmyk(13.9%, 0%, 83.1%, 34.9%)
CIE-LABlab(64.32, -25.10, 61.62)
CIE-LCHlch(64.32, 66.54, 112.16°)
OKLaboklab(68.39% -0.0754 0.1337)
OKLCHoklch(68.39% 0.153 119.4)
XYZxyz(25.1741, 33.1961, 6.1797)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA61C #331CA6
analogous
#A6781C #8FA61C #4AA61C
triadic
#8FA61C #1C8FA6 #A61C8F
tetradic
#8FA61C #1CA678 #331CA6 #A61C4A
square
#8FA61C #1CA678 #331CA6 #A61C4A
split-complementary
#8FA61C #1C4AA6 #781CA6
monochromatic
#353D0A #627213 #8FA61C #BCDA25 #CCE359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA61C#FFFFFF#000000##000000
##8FA61C1.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)
#AF9C2B
Tritanopia (blue-blind)
#989D8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa61c;
/* rgb */ color: rgb(143, 166, 28);
/* oklch */ color: oklch(68.4% 0.153 119.4);
Tailwind
colors: {
  custom: {
    50: '#b4c067',
    500: '#8fa61c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa61c;
$custom-light: #b4c067;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa61c",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 28
  },
  "hsl": {
    "h": 70,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68386,
    "c": 0.15347,
    "h": 119.4
  },
  "luminance": 0.33196
}

Semantic roles & 50–950 ramp

primary
#8FA61C
secondary
#6A57C7
accent
#3AEE58
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #8FA61C

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

Preview Lab → · Contrast checker → · Palette generator →

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