#8FA11A#8FA11A

#8FA11A is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.2% C 0.149 H 117.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8FA11A
RGBrgb(143, 161, 26)
HSLhsl(68, 72%, 37%)
HSVhsv(68, 84%, 63%)
CMYKcmyk(11.2%, 0%, 83.9%, 36.9%)
CIE-LABlab(62.85, -22.69, 60.86)
CIE-LCHlch(62.85, 64.96, 110.45°)
OKLaboklab(67.2% -0.069 0.1317)
OKLCHoklch(67.2% 0.149 117.6)
XYZxyz(24.2596, 31.4042, 5.7607)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA11A #2C1AA1
analogous
#A1701A #8FA11A #4CA11A
triadic
#8FA11A #1A8FA1 #A11A8F
tetradic
#8FA11A #1AA170 #2C1AA1 #A11A4C
square
#8FA11A #1AA170 #2C1AA1 #A11A4C
split-complementary
#8FA11A #1A4CA1 #701AA1
monochromatic
#313809 #606C11 #8FA11A #BED623 #D0E352

Accessibility & contrast

On white

2.88
#8FA11A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8FA11A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA11A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA11A#FFFFFF#000000##000000
##8FA11A1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#989889
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa11a;
/* rgb */ color: rgb(143, 161, 26);
/* oklch */ color: oklch(67.2% 0.149 117.6);
Tailwind
colors: {
  custom: {
    50: '#b4bc66',
    500: '#8fa11a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa11a;
$custom-light: #b4bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa11a",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 68,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67198,
    "c": 0.14865,
    "h": 117.6
  },
  "luminance": 0.31404
}

Semantic roles & 50–950 ramp

primary
#8FA11A
secondary
#6151C6
accent
#39EF51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #8FA11A

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

Preview Lab → · Contrast checker → · Palette generator →

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