#AFE84F#AFE84F

#AFE84F is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.3% C 0.189 H 127.5°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#AFE84F
RGBrgb(175, 232, 79)
HSLhsl(82, 77%, 61%)
HSVhsv(82, 66%, 91%)
CMYKcmyk(24.6%, 0%, 65.9%, 9%)
CIE-LABlab(85.70, -40.34, 65.83)
CIE-LCHlch(85.70, 77.21, 121.50°)
OKLaboklab(86.3% -0.115 0.1497)
OKLCHoklch(86.3% 0.189 127.5)
XYZxyz(47.9471, 67.3908, 17.8772)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE84F #884FE8
analogous
#E8D44F #AFE84F #62E84F
triadic
#AFE84F #4FAFE8 #E84FAF
tetradic
#AFE84F #4FE8D4 #884FE8 #E84F62
square
#AFE84F #4FE8D4 #884FE8 #E84F62
split-complementary
#AFE84F #4F62E8 #D44FE8
monochromatic
#71A716 #95DD1D #AFE84F #C8EF85 #E0F6BB

Accessibility & contrast

On white

1.45
#AFE84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#AFE84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE84F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE84F#FFFFFF#000000##000000
##AFE84F1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93A
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#B5DEC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe84f;
/* rgb */ color: rgb(175, 232, 79);
/* oklch */ color: oklch(86.3% 0.189 127.5);
Tailwind
colors: {
  custom: {
    50: '#cbef88',
    500: '#afe84f',
    950: '#000000',
  },
}
SCSS
$custom: #afe84f;
$custom-light: #cbef88;
$custom-dark: #000000;
JSON
{
  "hex": "#afe84f",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 79
  },
  "hsl": {
    "h": 82.353,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.863,
    "c": 0.18873,
    "h": 127.5
  },
  "luminance": 0.67392
}

Semantic roles & 50–950 ramp

primary
#AFE84F
secondary
#5F33A9
accent
#0CD959
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE84F

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

Preview Lab → · Contrast checker → · Palette generator →

#AFE84F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva