#8FAE31#8FAE31

#8FAE31 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.4% C 0.152 H 122.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8FAE31
RGBrgb(143, 174, 49)
HSLhsl(75, 56%, 44%)
HSVhsv(75, 72%, 68%)
CMYKcmyk(17.8%, 0%, 71.8%, 31.8%)
CIE-LABlab(66.77, -28.02, 57.25)
CIE-LCHlch(66.77, 63.74, 116.08°)
OKLaboklab(70.4% -0.0818 0.128)
OKLCHoklch(70.4% 0.152 122.6)
XYZxyz(27.0185, 36.3334, 8.4948)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAE31 #5031AE
analogous
#AE8E31 #8FAE31 #50AE31
triadic
#8FAE31 #318FAE #AE318F
tetradic
#8FAE31 #31AE8E #5031AE #AE3150
square
#8FAE31 #31AE8E #5031AE #AE3150
split-complementary
#8FAE31 #3150AE #8E31AE
monochromatic
#414E16 #687E24 #8FAE31 #AECD4F #C4DB7F

Accessibility & contrast

On white

2.54
#8FAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#8FAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAE31
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAE31#FFFFFF#000000##000000
##8FAE311.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#96A596
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8fae31;
/* rgb */ color: rgb(143, 174, 49);
/* oklch */ color: oklch(70.4% 0.152 122.6);
Tailwind
colors: {
  custom: {
    50: '#b3c671',
    500: '#8fae31',
    950: '#000000',
  },
}
SCSS
$custom: #8fae31;
$custom-light: #b3c671;
$custom-dark: #000000;
JSON
{
  "hex": "#8fae31",
  "rgb": {
    "r": 143,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 74.88,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70401,
    "c": 0.15187,
    "h": 122.6
  },
  "luminance": 0.36333
}

Semantic roles & 50–950 ramp

primary
#8FAE31
secondary
#8A77C4
accent
#48DF6E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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