#8FAF29#8FAF29

#8FAF29 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.6% C 0.158 H 122.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8FAF29
RGBrgb(143, 175, 41)
HSLhsl(74, 62%, 42%)
HSVhsv(74, 77%, 69%)
CMYKcmyk(18.3%, 0%, 76.6%, 31.4%)
CIE-LABlab(67.02, -28.93, 60.26)
CIE-LCHlch(67.02, 66.85, 115.64°)
OKLaboklab(70.59% -0.085 0.133)
OKLCHoklch(70.59% 0.158 122.6)
XYZxyz(27.0583, 36.6596, 7.7479)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF29 #4929AF
analogous
#AF8C29 #8FAF29 #4CAF29
triadic
#8FAF29 #298FAF #AF298F
tetradic
#8FAF29 #29AF8C #4929AF #AF294C
square
#8FAF29 #29AF8C #4929AF #AF294C
split-complementary
#8FAF29 #294CAF #8C29AF
monochromatic
#3E4C12 #667D1D #8FAF29 #B0D342 #C5DE74

Accessibility & contrast

On white

2.52
#8FAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#8FAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF29
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF29#FFFFFF#000000##000000
##8FAF291.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA405
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#97A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf29;
/* rgb */ color: rgb(143, 175, 41);
/* oklch */ color: oklch(70.6% 0.158 122.6);
Tailwind
colors: {
  custom: {
    50: '#b3c76e',
    500: '#8faf29',
    950: '#000000',
  },
}
SCSS
$custom: #8faf29;
$custom-light: #b3c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf29",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 74.328,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.15779,
    "h": 122.6
  },
  "luminance": 0.3666
}

Semantic roles & 50–950 ramp

primary
#8FAF29
secondary
#836EC6
accent
#43E569
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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