#8FA116#8FA116

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

Color values

HEX#8FA116
RGBrgb(143, 161, 22)
HSLhsl(68, 76%, 36%)
HSVhsv(68, 86%, 63%)
CMYKcmyk(11.2%, 0%, 86.3%, 36.9%)
CIE-LABlab(62.83, -22.82, 61.80)
CIE-LCHlch(62.83, 65.88, 110.26°)
OKLaboklab(67.18% -0.0695 0.1331)
OKLCHoklch(67.18% 0.15 117.6)
XYZxyz(24.2180, 31.3876, 5.5415)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA116 #2816A1
analogous
#A16D16 #8FA116 #49A116
triadic
#8FA116 #168FA1 #A1168F
tetradic
#8FA116 #16A16D #2816A1 #A11649
square
#8FA116 #16A16D #2816A1 #A11649
split-complementary
#8FA116 #1649A1 #6D16A1
monochromatic
#2F3507 #5F6B0F #8FA116 #BFD71D #D2E64B

Accessibility & contrast

On white

2.89
#8FA116 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA116#FFFFFF#000000##000000
##8FA1161.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AB9926
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa116;
/* rgb */ color: rgb(143, 161, 22);
/* oklch */ color: oklch(67.2% 0.150 117.6);
Tailwind
colors: {
  custom: {
    50: '#b4bc64',
    500: '#8fa116',
    950: '#000000',
  },
}
SCSS
$custom: #8fa116;
$custom-light: #b4bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa116",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 67.77,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67183,
    "c": 0.15014,
    "h": 117.6
  },
  "luminance": 0.31387
}

Semantic roles & 50–950 ramp

primary
#8FA116
secondary
#5B4BC8
accent
#35F34E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #8FA116

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

Preview Lab → · Contrast checker → · Palette generator →

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