#8FA11C#8FA11C

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

Color values

HEX#8FA11C
RGBrgb(143, 161, 28)
HSLhsl(68, 70%, 37%)
HSVhsv(68, 83%, 63%)
CMYKcmyk(11.2%, 0%, 82.6%, 36.9%)
CIE-LABlab(62.86, -22.63, 60.35)
CIE-LCHlch(62.86, 64.45, 110.55°)
OKLaboklab(67.21% -0.0686 0.1309)
OKLCHoklch(67.21% 0.148 117.7)
XYZxyz(24.2828, 31.4135, 5.8826)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA11C #2E1CA1
analogous
#A1701C #8FA11C #4DA11C
triadic
#8FA11C #1C8FA1 #A11C8F
tetradic
#8FA11C #1CA170 #2E1CA1 #A11C4D
square
#8FA11C #1CA170 #2E1CA1 #A11C4D
split-complementary
#8FA11C #1C4DA1 #701CA1
monochromatic
#32390A #616D13 #8FA11C #BDD525 #CFE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA11C#FFFFFF#000000##000000
##8FA11C1.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)
#AB992A
Tritanopia (blue-blind)
#989889
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa11c;
/* rgb */ color: rgb(143, 161, 28);
/* oklch */ color: oklch(67.2% 0.148 117.7);
Tailwind
colors: {
  custom: {
    50: '#b4bc66',
    500: '#8fa11c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa11c;
$custom-light: #b4bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa11c",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 68.12,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67207,
    "c": 0.14783,
    "h": 117.7
  },
  "luminance": 0.31413
}

Semantic roles & 50–950 ramp

primary
#8FA11C
secondary
#6354C5
accent
#3BED53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA11C

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

Preview Lab → · Contrast checker → · Palette generator →

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