#AFE071#AFE071

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

Color values

HEX#AFE071
RGBrgb(175, 224, 113)
HSLhsl(86, 64%, 66%)
HSVhsv(86, 50%, 88%)
CMYKcmyk(21.9%, 0%, 49.6%, 12.2%)
CIE-LABlab(83.77, -33.76, 48.88)
CIE-LCHlch(83.77, 59.40, 124.63°)
OKLaboklab(84.84% -0.094 0.1168)
OKLCHoklch(84.84% 0.15 128.8)
XYZxyz(47.3151, 63.6167, 25.4060)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE071 #A271E0
analogous
#E0D971 #AFE071 #77E071
triadic
#AFE071 #71AFE0 #E071AF
tetradic
#AFE071 #71E0D9 #A271E0 #E07177
square
#AFE071 #71E0D9 #A271E0 #E07177
split-complementary
#AFE071 #7177E0 #D971E0
monochromatic
#73B026 #93D53F #AFE071 #CBEBA3 #E8F6D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE071#FFFFFF#000000##000000
##AFE0711.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)
#E9D367
Deuteranopia (green-blind)
#E2D078
Tritanopia (blue-blind)
#B3D8C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe071;
/* rgb */ color: rgb(175, 224, 113);
/* oklch */ color: oklch(84.8% 0.150 128.8);
Tailwind
colors: {
  custom: {
    50: '#c9ea9c',
    500: '#afe071',
    950: '#000000',
  },
}
SCSS
$custom: #afe071;
$custom-light: #c9ea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe071",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 113
  },
  "hsl": {
    "h": 86.486,
    "s": 64.162,
    "l": 66.078
  },
  "oklch": {
    "l": 0.84839,
    "c": 0.14989,
    "h": 128.8
  },
  "luminance": 0.63618
}

Semantic roles & 50–950 ramp

primary
#AFE071
secondary
#7444B2
accent
#1ACC68
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE071

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

Preview Lab → · Contrast checker → · Palette generator →

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