#AFEB72#AFEB72

#AFEB72 is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.4% C 0.164 H 130.9°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#AFEB72
RGBrgb(175, 235, 114)
HSLhsl(90, 75%, 68%)
HSVhsv(90, 51%, 92%)
CMYKcmyk(25.5%, 0%, 51.5%, 7.8%)
CIE-LABlab(86.87, -38.65, 52.15)
CIE-LCHlch(86.87, 64.91, 126.54°)
OKLaboklab(87.35% -0.1075 0.124)
OKLCHoklch(87.35% 0.164 130.9)
XYZxyz(50.4242, 69.7443, 26.7216)
Luminance0.6975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB72 #AE72EB
analogous
#EBEA72 #AFEB72 #72EB72
triadic
#AFEB72 #72AFEB #EB72AF
tetradic
#AFEB72 #72EBEA #AE72EB #EB7272
square
#AFEB72 #72EBEA #AE72EB #EB7272
split-complementary
#AFEB72 #7272EB #EA72EB
monochromatic
#72C61C #91E33C #AFEB72 #CDF3A8 #ECFADD

Accessibility & contrast

On white

1.40
#AFEB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#AFEB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB72
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB72#FFFFFF#000000##000000
##AFEB721.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#EBD87A
Tritanopia (blue-blind)
#B2E3D0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb72;
/* rgb */ color: rgb(175, 235, 114);
/* oklch */ color: oklch(87.4% 0.164 130.9);
Tailwind
colors: {
  custom: {
    50: '#c9f19d',
    500: '#afeb72',
    950: '#000000',
  },
}
SCSS
$custom: #afeb72;
$custom-light: #c9f19d;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb72",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 114
  },
  "hsl": {
    "h": 89.752,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87353,
    "c": 0.1641,
    "h": 130.9
  },
  "luminance": 0.69746
}

Semantic roles & 50–950 ramp

primary
#AFEB72
secondary
#803EC3
accent
#0ED772
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEB72

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

Preview Lab → · Contrast checker → · Palette generator →

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