#8FAB31#8FAB31

#8FAB31 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.7% C 0.148 H 121.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8FAB31
RGBrgb(143, 171, 49)
HSLhsl(74, 55%, 43%)
HSVhsv(74, 71%, 67%)
CMYKcmyk(16.4%, 0%, 71.3%, 32.9%)
CIE-LABlab(65.89, -26.57, 56.38)
CIE-LCHlch(65.89, 62.33, 115.24°)
OKLaboklab(69.69% -0.0778 0.1261)
OKLCHoklch(69.69% 0.148 121.7)
XYZxyz(26.4454, 35.1872, 8.3037)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAB31 #4D31AB
analogous
#AB8A31 #8FAB31 #52AB31
triadic
#8FAB31 #318FAB #AB318F
tetradic
#8FAB31 #31AB8A #4D31AB #AB3152
square
#8FAB31 #31AB8A #4D31AB #AB3152
split-complementary
#8FAB31 #3152AB #8A31AB
monochromatic
#3F4C16 #677B23 #8FAB31 #AFCC4D #C4DA7D

Accessibility & contrast

On white

2.61
#8FAB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#8FAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAB31
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAB31#FFFFFF#000000##000000
##8FAB311.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11C
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#97A293
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8fab31;
/* rgb */ color: rgb(143, 171, 49);
/* oklch */ color: oklch(69.7% 0.148 121.7);
Tailwind
colors: {
  custom: {
    50: '#b3c471',
    500: '#8fab31',
    950: '#000000',
  },
}
SCSS
$custom: #8fab31;
$custom-light: #b3c471;
$custom-dark: #000000;
JSON
{
  "hex": "#8fab31",
  "rgb": {
    "r": 143,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 73.77,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69691,
    "c": 0.1482,
    "h": 121.7
  },
  "luminance": 0.35187
}

Semantic roles & 50–950 ramp

primary
#8FAB31
secondary
#8775C2
accent
#49DF6B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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