#AFE474#AFE474

#AFE474 is a very light, vivid yellow-green. Relative luminance 0.659; OKLCH L 85.8% C 0.153 H 130.0°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#AFE474
RGBrgb(175, 228, 116)
HSLhsl(88, 67%, 67%)
HSVhsv(88, 49%, 89%)
CMYKcmyk(23.2%, 0%, 49.1%, 10.6%)
CIE-LABlab(84.93, -35.27, 48.87)
CIE-LCHlch(84.93, 60.27, 125.82°)
OKLaboklab(85.79% -0.098 0.117)
OKLCHoklch(85.79% 0.153 130)
XYZxyz(48.5745, 65.8607, 26.6728)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE474 #A974E4
analogous
#E4E174 #AFE474 #77E474
triadic
#AFE474 #74AFE4 #E474AF
tetradic
#AFE474 #74E4E1 #A974E4 #E47477
square
#AFE474 #74E4E1 #A974E4 #E47477
split-complementary
#AFE474 #7477E4 #E174E4
monochromatic
#73BA24 #92DA41 #AFE474 #CCEEA7 #EAF8DA

Accessibility & contrast

On white

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

On black

14.17
#AFE474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE474
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE474#FFFFFF#000000##000000
##AFE4741.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76A
Deuteranopia (green-blind)
#E5D37B
Tritanopia (blue-blind)
#B2DCCA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe474;
/* rgb */ color: rgb(175, 228, 116);
/* oklch */ color: oklch(85.8% 0.153 130.0);
Tailwind
colors: {
  custom: {
    50: '#c9ec9e',
    500: '#afe474',
    950: '#000000',
  },
}
SCSS
$custom: #afe474;
$custom-light: #c9ec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe474",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 88.393,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85787,
    "c": 0.15256,
    "h": 130
  },
  "luminance": 0.65862
}

Semantic roles & 50–950 ramp

primary
#AFE474
secondary
#7B43BA
accent
#16CF6E
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE474

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

Preview Lab → · Contrast checker → · Palette generator →

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