#AFE072#AFE072

#AFE072 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.9% C 0.149 H 128.9°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#AFE072
RGBrgb(175, 224, 114)
HSLhsl(87, 64%, 66%)
HSVhsv(87, 49%, 88%)
CMYKcmyk(21.9%, 0%, 49.1%, 12.2%)
CIE-LABlab(83.78, -33.65, 48.42)
CIE-LCHlch(83.78, 58.97, 124.80°)
OKLaboklab(84.85% -0.0936 0.1158)
OKLCHoklch(84.85% 0.149 128.9)
XYZxyz(47.3717, 63.6393, 25.7042)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE072 #A372E0
analogous
#E0DA72 #AFE072 #78E072
triadic
#AFE072 #72AFE0 #E072AF
tetradic
#AFE072 #72E0DA #A372E0 #E07278
square
#AFE072 #72E0DA #A372E0 #E07278
split-complementary
#AFE072 #7278E0 #DA72E0
monochromatic
#73B127 #93D540 #AFE072 #CBEBA4 #E8F6D6

Accessibility & contrast

On white

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

On black

13.73
#AFE072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE072
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE072#FFFFFF#000000##000000
##AFE0721.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D368
Deuteranopia (green-blind)
#E2D079
Tritanopia (blue-blind)
#B3D8C7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe072;
/* rgb */ color: rgb(175, 224, 114);
/* oklch */ color: oklch(84.9% 0.149 128.9);
Tailwind
colors: {
  custom: {
    50: '#c9ea9d',
    500: '#afe072',
    950: '#000000',
  },
}
SCSS
$custom: #afe072;
$custom-light: #c9ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe072",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 114
  },
  "hsl": {
    "h": 86.727,
    "s": 63.953,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84852,
    "c": 0.14892,
    "h": 128.9
  },
  "luminance": 0.6364
}

Semantic roles & 50–950 ramp

primary
#AFE072
secondary
#7544B2
accent
#1ACC69
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE072

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

Preview Lab → · Contrast checker → · Palette generator →

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