#AFCE54#AFCE54

#AFCE54 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.4% C 0.152 H 121.9°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#AFCE54
RGBrgb(175, 206, 84)
HSLhsl(75, 55%, 57%)
HSVhsv(75, 59%, 81%)
CMYKcmyk(15%, 0%, 59.2%, 19.2%)
CIE-LABlab(78.40, -28.04, 55.90)
CIE-LCHlch(78.40, 62.53, 116.64°)
OKLaboklab(80.42% -0.0805 0.1293)
OKLCHoklch(80.42% 0.152 121.9)
XYZxyz(41.3511, 53.8966, 16.6104)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE54 #7354CE
analogous
#CEB054 #AFCE54 #72CE54
triadic
#AFCE54 #54AFCE #CE54AF
tetradic
#AFCE54 #54CEB0 #7354CE #CE5472
square
#AFCE54 #54CEB0 #7354CE #CE5472
split-complementary
#AFCE54 #5472CE #B054CE
monochromatic
#6B8225 #92B233 #AFCE54 #C5DC84 #DCE9B3

Accessibility & contrast

On white

1.78
#AFCE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#AFCE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE54
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE54#FFFFFF#000000##000000
##AFCE541.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C346
Deuteranopia (green-blind)
#D5C25C
Tritanopia (blue-blind)
#B7C4B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce54;
/* rgb */ color: rgb(175, 206, 84);
/* oklch */ color: oklch(80.4% 0.152 121.9);
Tailwind
colors: {
  custom: {
    50: '#c9dd89',
    500: '#afce54',
    950: '#000000',
  },
}
SCSS
$custom: #afce54;
$custom-light: #c9dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#afce54",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 75.246,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80416,
    "c": 0.15229,
    "h": 121.9
  },
  "luminance": 0.53897
}

Semantic roles & 50–950 ramp

primary
#AFCE54
secondary
#503D8A
accent
#49DF6F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCE54

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

Preview Lab → · Contrast checker → · Palette generator →

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