#AFE050#AFE050

#AFE050 is a very light, vivid yellow-green. Relative luminance 0.630; OKLCH L 84.5% C 0.178 H 126.1°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#AFE050
RGBrgb(175, 224, 80)
HSLhsl(80, 70%, 60%)
HSVhsv(80, 64%, 88%)
CMYKcmyk(21.9%, 0%, 64.3%, 12.2%)
CIE-LABlab(83.44, -36.69, 63.05)
CIE-LCHlch(83.44, 72.95, 120.20°)
OKLaboklab(84.48% -0.1049 0.144)
OKLCHoklch(84.48% 0.178 126.1)
XYZxyz(45.7830, 63.0038, 17.3368)
Luminance0.6300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE050 #8150E0
analogous
#E0C950 #AFE050 #67E050
triadic
#AFE050 #50AFE0 #E050AF
tetradic
#AFE050 #50E0C9 #8150E0 #E05067
square
#AFE050 #50E0C9 #8150E0 #E05067
split-complementary
#AFE050 #5067E0 #C950E0
monochromatic
#6F9A1B #95CE25 #AFE050 #C7E984 #DFF2B8

Accessibility & contrast

On white

1.54
#AFE050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#AFE050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE050
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE050#FFFFFF#000000##000000
##AFE0501.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23D
Deuteranopia (green-blind)
#E5CF5B
Tritanopia (blue-blind)
#B6D6C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe050;
/* rgb */ color: rgb(175, 224, 80);
/* oklch */ color: oklch(84.5% 0.178 126.1);
Tailwind
colors: {
  custom: {
    50: '#caea88',
    500: '#afe050',
    950: '#000000',
  },
}
SCSS
$custom: #afe050;
$custom-light: #caea88;
$custom-dark: #000000;
JSON
{
  "hex": "#afe050",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 80
  },
  "hsl": {
    "h": 80.417,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84475,
    "c": 0.1781,
    "h": 126.1
  },
  "luminance": 0.63004
}

Semantic roles & 50–950 ramp

primary
#AFE050
secondary
#5A369E
accent
#3BED78
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE050

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

Preview Lab → · Contrast checker → · Palette generator →

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