#AFE070#AFE070

#AFE070 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.8% C 0.151 H 128.7°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#AFE070
RGBrgb(175, 224, 112)
HSLhsl(86, 64%, 66%)
HSVhsv(86, 50%, 88%)
CMYKcmyk(21.9%, 0%, 50%, 12.2%)
CIE-LABlab(83.75, -33.86, 49.34)
CIE-LCHlch(83.75, 59.84, 124.46°)
OKLaboklab(84.83% -0.0943 0.1177)
OKLCHoklch(84.83% 0.151 128.7)
XYZxyz(47.2591, 63.5943, 25.1112)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE070 #A170E0
analogous
#E0D970 #AFE070 #77E070
triadic
#AFE070 #70AFE0 #E070AF
tetradic
#AFE070 #70E0D9 #A170E0 #E07077
square
#AFE070 #70E0D9 #A170E0 #E07077
split-complementary
#AFE070 #7077E0 #D970E0
monochromatic
#73B026 #93D53E #AFE070 #CBEBA2 #E7F6D5

Accessibility & contrast

On white

1.53
#AFE070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#AFE070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE070
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE070#FFFFFF#000000##000000
##AFE0701.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D366
Deuteranopia (green-blind)
#E2D077
Tritanopia (blue-blind)
#B3D8C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe070;
/* rgb */ color: rgb(175, 224, 112);
/* oklch */ color: oklch(84.8% 0.151 128.7);
Tailwind
colors: {
  custom: {
    50: '#c9ea9b',
    500: '#afe070',
    950: '#000000',
  },
}
SCSS
$custom: #afe070;
$custom-light: #c9ea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe070",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 112
  },
  "hsl": {
    "h": 86.25,
    "s": 64.368,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84826,
    "c": 0.15085,
    "h": 128.7
  },
  "luminance": 0.63595
}

Semantic roles & 50–950 ramp

primary
#AFE070
secondary
#7343B1
accent
#19CC68
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE070

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

Preview Lab → · Contrast checker → · Palette generator →

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