#AFE155#AFE155

#AFE155 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.7% C 0.176 H 126.6°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#AFE155
RGBrgb(175, 225, 85)
HSLhsl(81, 70%, 61%)
HSVhsv(81, 62%, 88%)
CMYKcmyk(22.2%, 0%, 62.2%, 11.8%)
CIE-LABlab(83.77, -36.77, 61.37)
CIE-LCHlch(83.77, 71.54, 120.93°)
OKLaboklab(84.75% -0.1046 0.141)
OKLCHoklch(84.75% 0.176 126.6)
XYZxyz(46.2442, 63.6196, 18.4360)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE155 #8755E1
analogous
#E1CD55 #AFE155 #69E155
triadic
#AFE155 #55AFE1 #E155AF
tetradic
#AFE155 #55E1CD #8755E1 #E15569
square
#AFE155 #55E1CD #8755E1 #E15569
split-complementary
#AFE155 #5569E1 #CD55E1
monochromatic
#719F1C #95D325 #AFE155 #C7EA89 #E0F3BD

Accessibility & contrast

On white

1.53
#AFE155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#AFE155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE155
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE155#FFFFFF#000000##000000
##AFE1551.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD344
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe155;
/* rgb */ color: rgb(175, 225, 85);
/* oklch */ color: oklch(84.7% 0.176 126.6);
Tailwind
colors: {
  custom: {
    50: '#caea8b',
    500: '#afe155',
    950: '#000000',
  },
}
SCSS
$custom: #afe155;
$custom-light: #caea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe155",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 85
  },
  "hsl": {
    "h": 81.429,
    "s": 70,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84749,
    "c": 0.1756,
    "h": 126.6
  },
  "luminance": 0.6362
}

Semantic roles & 50–950 ramp

primary
#AFE155
secondary
#5E38A3
accent
#14D258
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE155

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

Preview Lab → · Contrast checker → · Palette generator →

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