#AFE249#AFE249

#AFE249 is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 84.9% C 0.185 H 126.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#AFE249
RGBrgb(175, 226, 73)
HSLhsl(80, 73%, 59%)
HSVhsv(80, 68%, 89%)
CMYKcmyk(22.6%, 0%, 67.7%, 11.4%)
CIE-LABlab(83.96, -38.07, 66.31)
CIE-LCHlch(83.96, 76.46, 119.86°)
OKLaboklab(84.88% -0.1093 0.1499)
OKLCHoklch(84.88% 0.185 126.1)
XYZxyz(46.0783, 63.9870, 16.2252)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE249 #7C49E2
analogous
#E2C849 #AFE249 #62E249
triadic
#AFE249 #49AFE2 #E249AF
tetradic
#AFE249 #49E2C8 #7C49E2 #E24962
square
#AFE249 #49E2C8 #7C49E2 #E24962
split-complementary
#AFE249 #4962E2 #C849E2
monochromatic
#6E9818 #94CD21 #AFE249 #C6EA7E #DDF3B3

Accessibility & contrast

On white

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

On black

13.80
#AFE249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE249
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE249#FFFFFF#000000##000000
##AFE2491.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED332
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#B6D8C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe249;
/* rgb */ color: rgb(175, 226, 73);
/* oklch */ color: oklch(84.9% 0.185 126.1);
Tailwind
colors: {
  custom: {
    50: '#cbeb84',
    500: '#afe249',
    950: '#000000',
  },
}
SCSS
$custom: #afe249;
$custom-light: #cbeb84;
$custom-dark: #000000;
JSON
{
  "hex": "#afe249",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 73
  },
  "hsl": {
    "h": 80,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84875,
    "c": 0.18545,
    "h": 126.1
  },
  "luminance": 0.63988
}

Semantic roles & 50–950 ramp

primary
#AFE249
secondary
#56339C
accent
#39EF75
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE249

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

Preview Lab → · Contrast checker → · Palette generator →

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