#AFE054#AFE054

#AFE054 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.5% C 0.175 H 126.3°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#AFE054
RGBrgb(175, 224, 84)
HSLhsl(81, 69%, 60%)
HSVhsv(81, 63%, 88%)
CMYKcmyk(21.9%, 0%, 62.5%, 12.2%)
CIE-LABlab(83.48, -36.40, 61.46)
CIE-LCHlch(83.48, 71.43, 120.63°)
OKLaboklab(84.51% -0.1037 0.1411)
OKLCHoklch(84.51% 0.175 126.3)
XYZxyz(45.9352, 63.0647, 18.1384)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE054 #8554E0
analogous
#E0CB54 #AFE054 #69E054
triadic
#AFE054 #54AFE0 #E054AF
tetradic
#AFE054 #54E0CB #8554E0 #E05469
square
#AFE054 #54E0CB #8554E0 #E05469
split-complementary
#AFE054 #5469E0 #CB54E0
monochromatic
#709D1C #95D126 #AFE054 #C7E988 #DFF3BC

Accessibility & contrast

On white

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

On black

13.61
#AFE054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE054
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE054#FFFFFF#000000##000000
##AFE0541.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD243
Deuteranopia (green-blind)
#E4CF5E
Tritanopia (blue-blind)
#B6D6C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe054;
/* rgb */ color: rgb(175, 224, 84);
/* oklch */ color: oklch(84.5% 0.175 126.3);
Tailwind
colors: {
  custom: {
    50: '#caea8a',
    500: '#afe054',
    950: '#000000',
  },
}
SCSS
$custom: #afe054;
$custom-light: #caea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe054",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 84
  },
  "hsl": {
    "h": 81,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84512,
    "c": 0.1751,
    "h": 126.3
  },
  "luminance": 0.63065
}

Semantic roles & 50–950 ramp

primary
#AFE054
secondary
#5C38A1
accent
#14D156
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE054

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

Preview Lab → · Contrast checker → · Palette generator →

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