#AFE470#AFE470

#AFE470 is a very light, vivid yellow-green. Relative luminance 0.658; OKLCH L 85.7% C 0.156 H 129.5°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#AFE470
RGBrgb(175, 228, 112)
HSLhsl(87, 68%, 67%)
HSVhsv(87, 51%, 89%)
CMYKcmyk(23.2%, 0%, 50.9%, 10.6%)
CIE-LABlab(84.88, -35.69, 50.69)
CIE-LCHlch(84.88, 62.00, 125.15°)
OKLaboklab(85.73% -0.0994 0.1207)
OKLCHoklch(85.73% 0.156 129.5)
XYZxyz(48.3468, 65.7696, 25.4737)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE470 #A570E4
analogous
#E4DF70 #AFE470 #75E470
triadic
#AFE470 #70AFE4 #E470AF
tetradic
#AFE470 #70E4DF #A570E4 #E47075
square
#AFE470 #70E4DF #A570E4 #E47075
split-complementary
#AFE470 #7075E4 #DF70E4
monochromatic
#73B723 #92DA3D #AFE470 #CCEEA3 #E9F7D7

Accessibility & contrast

On white

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

On black

14.15
#AFE470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE470
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE470#FFFFFF#000000##000000
##AFE4701.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD665
Deuteranopia (green-blind)
#E6D377
Tritanopia (blue-blind)
#B3DCCA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe470;
/* rgb */ color: rgb(175, 228, 112);
/* oklch */ color: oklch(85.7% 0.156 129.5);
Tailwind
colors: {
  custom: {
    50: '#c9ec9c',
    500: '#afe470',
    950: '#000000',
  },
}
SCSS
$custom: #afe470;
$custom-light: #c9ec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe470",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 112
  },
  "hsl": {
    "h": 87.414,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85734,
    "c": 0.15637,
    "h": 129.5
  },
  "luminance": 0.65771
}

Semantic roles & 50–950 ramp

primary
#AFE470
secondary
#7741B7
accent
#15D06B
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE470

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

Preview Lab → · Contrast checker → · Palette generator →

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