#AFE475#AFE475

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

Color values

HEX#AFE475
RGBrgb(175, 228, 117)
HSLhsl(89, 67%, 68%)
HSVhsv(89, 49%, 89%)
CMYKcmyk(23.2%, 0%, 48.7%, 10.6%)
CIE-LABlab(84.94, -35.16, 48.41)
CIE-LCHlch(84.94, 59.83, 125.99°)
OKLaboklab(85.8% -0.0976 0.116)
OKLCHoklch(85.8% 0.152 130.1)
XYZxyz(48.6329, 65.8841, 26.9808)
Luminance0.6589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE475 #AA75E4
analogous
#E4E275 #AFE475 #77E475
triadic
#AFE475 #75AFE4 #E475AF
tetradic
#AFE475 #75E4E2 #AA75E4 #E47577
square
#AFE475 #75E4E2 #AA75E4 #E47577
split-complementary
#AFE475 #7577E4 #E275E4
monochromatic
#73BA24 #91DA42 #AFE475 #CDEEA8 #EAF8DB

Accessibility & contrast

On white

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

On black

14.18
#AFE475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE475
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE475#FFFFFF#000000##000000
##AFE4751.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe475;
/* rgb */ color: rgb(175, 228, 117);
/* oklch */ color: oklch(85.8% 0.152 130.1);
Tailwind
colors: {
  custom: {
    50: '#c9ec9f',
    500: '#afe475',
    950: '#000000',
  },
}
SCSS
$custom: #afe475;
$custom-light: #c9ec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe475",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 117
  },
  "hsl": {
    "h": 88.649,
    "s": 67.273,
    "l": 67.647
  },
  "oklch": {
    "l": 0.858,
    "c": 0.1516,
    "h": 130.1
  },
  "luminance": 0.65885
}

Semantic roles & 50–950 ramp

primary
#AFE475
secondary
#7C43BA
accent
#16CF6F
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE475

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

Preview Lab → · Contrast checker → · Palette generator →

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