#8FAF24#8FAF24

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

Color values

HEX#8FAF24
RGBrgb(143, 175, 36)
HSLhsl(74, 66%, 41%)
HSVhsv(74, 79%, 69%)
CMYKcmyk(18.3%, 0%, 79.4%, 31.4%)
CIE-LABlab(67.00, -29.15, 61.78)
CIE-LCHlch(67.00, 68.32, 115.26°)
OKLaboklab(70.56% -0.0859 0.1353)
OKLCHoklch(70.56% 0.16 122.4)
XYZxyz(26.9765, 36.6269, 7.3172)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF24 #4424AF
analogous
#AF8A24 #8FAF24 #4AAF24
triadic
#8FAF24 #248FAF #AF248F
tetradic
#8FAF24 #24AF8A #4424AF #AF244A
square
#8FAF24 #24AF8A #4424AF #AF244A
split-complementary
#8FAF24 #244AAF #8A24AF
monochromatic
#3C490F #667C1A #8FAF24 #B2D63A #C6E16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FAF24#FFFFFF#000000##000000
##8FAF241.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)
#BAA400
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#97A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf24;
/* rgb */ color: rgb(143, 175, 36);
/* oklch */ color: oklch(70.6% 0.160 122.4);
Tailwind
colors: {
  custom: {
    50: '#b4c76b',
    500: '#8faf24',
    950: '#000000',
  },
}
SCSS
$custom: #8faf24;
$custom-light: #b4c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf24",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 73.813,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70558,
    "c": 0.16033,
    "h": 122.4
  },
  "luminance": 0.36627
}

Semantic roles & 50–950 ramp

primary
#8FAF24
secondary
#7E68C7
accent
#3FE966
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8FAF24

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

Preview Lab → · Contrast checker → · Palette generator →

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