#AFE250#AFE250

#AFE250 is a very light, vivid yellow-green. Relative luminance 0.641; OKLCH L 84.9% C 0.181 H 126.5°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#AFE250
RGBrgb(175, 226, 80)
HSLhsl(81, 72%, 60%)
HSVhsv(81, 65%, 89%)
CMYKcmyk(22.6%, 0%, 64.6%, 11.4%)
CIE-LABlab(84.01, -37.60, 63.66)
CIE-LCHlch(84.01, 73.93, 120.57°)
OKLaboklab(84.93% -0.1073 0.1452)
OKLCHoklch(84.93% 0.181 126.5)
XYZxyz(46.3236, 64.0851, 17.5170)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE250 #8350E2
analogous
#E2CC50 #AFE250 #66E250
triadic
#AFE250 #50AFE2 #E250AF
tetradic
#AFE250 #50E2CC #8350E2 #E25066
square
#AFE250 #50E2CC #8350E2 #E25066
split-complementary
#AFE250 #5066E2 #CC50E2
monochromatic
#709E1A #95D223 #AFE250 #C7EB84 #DFF3B9

Accessibility & contrast

On white

1.52
#AFE250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#AFE250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE250
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE250#FFFFFF#000000##000000
##AFE2501.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD43D
Deuteranopia (green-blind)
#E6D15B
Tritanopia (blue-blind)
#B6D8C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe250;
/* rgb */ color: rgb(175, 226, 80);
/* oklch */ color: oklch(84.9% 0.181 126.5);
Tailwind
colors: {
  custom: {
    50: '#caeb88',
    500: '#afe250',
    950: '#000000',
  },
}
SCSS
$custom: #afe250;
$custom-light: #caeb88;
$custom-dark: #000000;
JSON
{
  "hex": "#afe250",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 80
  },
  "hsl": {
    "h": 80.959,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.84933,
    "c": 0.18058,
    "h": 126.5
  },
  "luminance": 0.64086
}

Semantic roles & 50–950 ramp

primary
#AFE250
secondary
#5B35A1
accent
#39EE79
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE250

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

Preview Lab → · Contrast checker → · Palette generator →

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