#AFFE7A#AFFE7A

#AFFE7A is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 91.8% C 0.183 H 134.3°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#AFFE7A
RGBrgb(175, 254, 122)
HSLhsl(96, 99%, 74%)
HSVhsv(96, 52%, 100%)
CMYKcmyk(31.1%, 0%, 52%, 0.4%)
CIE-LABlab(92.31, -46.11, 54.98)
CIE-LCHlch(92.31, 71.75, 129.99°)
OKLaboklab(91.79% -0.1276 0.1308)
OKLCHoklch(91.79% 0.183 134.3)
XYZxyz(56.6327, 81.4006, 31.1366)
Luminance0.8140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE7A #C97AFE
analogous
#F1FE7A #AFFE7A #7AFE87
triadic
#AFFE7A #7AAFFE #FE7AAF
tetradic
#AFFE7A #7AF1FE #C97AFE #FE877A
square
#AFFE7A #7AF1FE #C97AFE #FE877A
split-complementary
#AFFE7A #877AFE #FE7AF1
monochromatic
#66FC02 #8AFE3D #AFFE7A #D4FEB7 #EDFFE1

Accessibility & contrast

On white

1.22
#AFFE7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#AFFE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE7A
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE7A#FFFFFF#000000##000000
##AFFE7A1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FBE783
Tritanopia (blue-blind)
#AFF6E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe7a;
/* rgb */ color: rgb(175, 254, 122);
/* oklch */ color: oklch(91.8% 0.183 134.3);
Tailwind
colors: {
  custom: {
    50: '#caffa3',
    500: '#affe7a',
    950: '#000000',
  },
}
SCSS
$custom: #affe7a;
$custom-light: #caffa3;
$custom-dark: #000000;
JSON
{
  "hex": "#affe7a",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 122
  },
  "hsl": {
    "h": 95.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91791,
    "c": 0.18271,
    "h": 134.3
  },
  "luminance": 0.81403
}

Semantic roles & 50–950 ramp

primary
#AFFE7A
secondary
#9D40DC
accent
#00E689
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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