#8FA81B#8FA81B

#8FA81B is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.9% C 0.156 H 120.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8FA81B
RGBrgb(143, 168, 27)
HSLhsl(71, 72%, 38%)
HSVhsv(71, 84%, 66%)
CMYKcmyk(14.9%, 0%, 83.9%, 34.1%)
CIE-LABlab(64.90, -26.11, 62.38)
CIE-LCHlch(64.90, 67.62, 112.72°)
OKLaboklab(68.86% -0.0783 0.1351)
OKLCHoklch(68.86% 0.156 120.1)
XYZxyz(25.5287, 33.9241, 6.2398)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA81B #341BA8
analogous
#A87A1B #8FA81B #49A81B
triadic
#8FA81B #1B8FA8 #A81B8F
tetradic
#8FA81B #1BA87A #341BA8 #A81B49
square
#8FA81B #1BA87A #341BA8 #A81B49
split-complementary
#8FA81B #1B49A8 #7A1BA8
monochromatic
#353F0A #627313 #8FA81B #BBDC24 #CCE459

Accessibility & contrast

On white

2.70
#8FA81B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#8FA81B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA81B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA81B#FFFFFF#000000##000000
##8FA81B1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B09E2B
Tritanopia (blue-blind)
#989F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa81b;
/* rgb */ color: rgb(143, 168, 27);
/* oklch */ color: oklch(68.9% 0.156 120.1);
Tailwind
colors: {
  custom: {
    50: '#b4c167',
    500: '#8fa81b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa81b;
$custom-light: #b4c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa81b",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 70.638,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.15614,
    "h": 120.1
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#8FA81B
secondary
#6B57C8
accent
#39EF59
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #8FA81B

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

Preview Lab → · Contrast checker → · Palette generator →

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