#AFE54F#AFE54F

#AFE54F is a very light, vivid yellow-green. Relative luminance 0.657; OKLCH L 85.6% C 0.185 H 127.0°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#AFE54F
RGBrgb(175, 229, 79)
HSLhsl(82, 74%, 60%)
HSVhsv(82, 66%, 90%)
CMYKcmyk(23.6%, 0%, 65.5%, 10.2%)
CIE-LABlab(84.85, -39.01, 64.94)
CIE-LCHlch(84.85, 75.75, 120.99°)
OKLaboklab(85.61% -0.1113 0.1478)
OKLCHoklch(85.61% 0.185 127)
XYZxyz(47.1098, 65.7163, 17.5982)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE54F #854FE5
analogous
#E5D04F #AFE54F #64E54F
triadic
#AFE54F #4FAFE5 #E54FAF
tetradic
#AFE54F #4FE5D0 #854FE5 #E54F64
square
#AFE54F #4FE5D0 #854FE5 #E54F64
split-complementary
#AFE54F #4F64E5 #D04FE5
monochromatic
#70A218 #95D720 #AFE54F #C7ED84 #DFF5BA

Accessibility & contrast

On white

1.48
#AFE54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#AFE54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE54F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE54F#FFFFFF#000000##000000
##AFE54F1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63A
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#B5DBC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe54f;
/* rgb */ color: rgb(175, 229, 79);
/* oklch */ color: oklch(85.6% 0.185 127.0);
Tailwind
colors: {
  custom: {
    50: '#caed87',
    500: '#afe54f',
    950: '#000000',
  },
}
SCSS
$custom: #afe54f;
$custom-light: #caed87;
$custom-dark: #000000;
JSON
{
  "hex": "#afe54f",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 81.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85612,
    "c": 0.18503,
    "h": 127
  },
  "luminance": 0.65717
}

Semantic roles & 50–950 ramp

primary
#AFE54F
secondary
#5C34A4
accent
#0FD657
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE54F

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

Preview Lab → · Contrast checker → · Palette generator →

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