#8FA117#8FA117

#8FA117 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#8FA117
RGBrgb(143, 161, 23)
HSLhsl(68, 75%, 36%)
HSVhsv(68, 86%, 63%)
CMYKcmyk(11.2%, 0%, 85.7%, 36.9%)
CIE-LABlab(62.84, -22.79, 61.58)
CIE-LCHlch(62.84, 65.66, 110.31°)
OKLaboklab(67.19% -0.0694 0.1327)
OKLCHoklch(67.19% 0.15 117.6)
XYZxyz(24.2279, 31.3915, 5.5933)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA117 #2917A1
analogous
#A16E17 #8FA117 #4AA117
triadic
#8FA117 #178FA1 #A1178F
tetradic
#8FA117 #17A16E #2917A1 #A1174A
square
#8FA117 #17A16E #2917A1 #A1174A
split-complementary
#8FA117 #174AA1 #6E17A1
monochromatic
#303608 #5F6B0F #8FA117 #BFD71F #D2E64D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA117#FFFFFF#000000##000000
##8FA1171.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)
#AB9927
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa117;
/* rgb */ color: rgb(143, 161, 23);
/* oklch */ color: oklch(67.2% 0.150 117.6);
Tailwind
colors: {
  custom: {
    50: '#b4bc65',
    500: '#8fa117',
    950: '#000000',
  },
}
SCSS
$custom: #8fa117;
$custom-light: #b4bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa117",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 67.826,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.14978,
    "h": 117.6
  },
  "luminance": 0.31391
}

Semantic roles & 50–950 ramp

primary
#8FA117
secondary
#5C4CC7
accent
#36F24F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #8FA117

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

Preview Lab → · Contrast checker → · Palette generator →

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