#AFFB72#AFFB72

#AFFB72 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.0% C 0.186 H 133.1°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#AFFB72
RGBrgb(175, 251, 114)
HSLhsl(93, 94%, 72%)
HSVhsv(93, 55%, 98%)
CMYKcmyk(30.3%, 0%, 54.6%, 1.6%)
CIE-LABlab(91.38, -45.65, 57.47)
CIE-LCHlch(91.38, 73.40, 128.46°)
OKLaboklab(91.01% -0.1268 0.1356)
OKLCHoklch(91.01% 0.186 133.1)
XYZxyz(55.2127, 79.3213, 28.3178)
Luminance0.7932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB72 #BE72FB
analogous
#F3FB72 #AFFB72 #72FB7A
triadic
#AFFB72 #72AFFB #FB72AF
tetradic
#AFFB72 #72F3FB #BE72FB #FB7A72
square
#AFFB72 #72F3FB #BE72FB #FB7A72
split-complementary
#AFFB72 #7A72FB #FB72F3
monochromatic
#6DEC07 #8DF936 #AFFB72 #D1FDAE #EEFEE1

Accessibility & contrast

On white

1.25
#AFFB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#AFFB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB72
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB72#FFFFFF#000000##000000
##AFFB721.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#B0F2DD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb72;
/* rgb */ color: rgb(175, 251, 114);
/* oklch */ color: oklch(91.0% 0.186 133.1);
Tailwind
colors: {
  custom: {
    50: '#cafd9e',
    500: '#affb72',
    950: '#000000',
  },
}
SCSS
$custom: #affb72;
$custom-light: #cafd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#affb72",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 114
  },
  "hsl": {
    "h": 93.285,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91008,
    "c": 0.18569,
    "h": 133.1
  },
  "luminance": 0.79323
}

Semantic roles & 50–950 ramp

primary
#AFFB72
secondary
#913AD7
accent
#00E67F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB72

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

Preview Lab → · Contrast checker → · Palette generator →

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