#AFEA54#AFEA54

#AFEA54 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 86.8% C 0.188 H 128.2°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#AFEA54
RGBrgb(175, 234, 84)
HSLhsl(84, 78%, 62%)
HSVhsv(84, 64%, 92%)
CMYKcmyk(25.2%, 0%, 64.1%, 8.2%)
CIE-LABlab(86.30, -40.87, 64.51)
CIE-LCHlch(86.30, 76.36, 122.35°)
OKLaboklab(86.8% -0.116 0.1475)
OKLCHoklch(86.8% 0.188 128.2)
XYZxyz(48.7021, 68.5987, 19.0608)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA54 #8F54EA
analogous
#EADA54 #AFEA54 #64EA54
triadic
#AFEA54 #54AFEA #EA54AF
tetradic
#AFEA54 #54EADA #8F54EA #EA5464
square
#AFEA54 #54EADA #8F54EA #EA5464
split-complementary
#AFEA54 #5464EA #DA54EA
monochromatic
#72AE15 #96E31D #AFEA54 #C9F18B #E2F7C1

Accessibility & contrast

On white

1.43
#AFEA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#AFEA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA54
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA54#FFFFFF#000000##000000
##AFEA541.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB40
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#B4E0CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afea54;
/* rgb */ color: rgb(175, 234, 84);
/* oklch */ color: oklch(86.8% 0.188 128.2);
Tailwind
colors: {
  custom: {
    50: '#caf18b',
    500: '#afea54',
    950: '#000000',
  },
}
SCSS
$custom: #afea54;
$custom-light: #caf18b;
$custom-dark: #000000;
JSON
{
  "hex": "#afea54",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 84
  },
  "hsl": {
    "h": 83.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86802,
    "c": 0.18768,
    "h": 128.2
  },
  "luminance": 0.686
}

Semantic roles & 50–950 ramp

primary
#AFEA54
secondary
#6433AF
accent
#0BDA5D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFEA54

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

Preview Lab → · Contrast checker → · Palette generator →

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