#AFFE7B#AFFE7B

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

Color values

HEX#AFFE7B
RGBrgb(175, 254, 123)
HSLhsl(96, 98%, 74%)
HSVhsv(96, 52%, 100%)
CMYKcmyk(31.1%, 0%, 51.6%, 0.4%)
CIE-LABlab(92.32, -46.01, 54.53)
CIE-LCHlch(92.32, 71.35, 130.15°)
OKLaboklab(91.8% -0.1272 0.1299)
OKLCHoklch(91.8% 0.182 134.4)
XYZxyz(56.6950, 81.4255, 31.4646)
Luminance0.8143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE7B #CA7BFE
analogous
#F1FE7B #AFFE7B #7BFE89
triadic
#AFFE7B #7BAFFE #FE7BAF
tetradic
#AFFE7B #7BF1FE #CA7BFE #FE897B
square
#AFFE7B #7BF1FE #CA7BFE #FE897B
split-complementary
#AFFE7B #897BFE #FE7BF1
monochromatic
#65FD02 #8AFE3E #AFFE7B #D4FEB8 #EDFFE1

Accessibility & contrast

On white

1.21
#AFFE7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#AFFE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE7B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE7B#FFFFFF#000000##000000
##AFFE7B1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affe7b;
/* rgb */ color: rgb(175, 254, 123);
/* oklch */ color: oklch(91.8% 0.182 134.4);
Tailwind
colors: {
  custom: {
    50: '#caffa4',
    500: '#affe7b',
    950: '#000000',
  },
}
SCSS
$custom: #affe7b;
$custom-light: #caffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#affe7b",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 123
  },
  "hsl": {
    "h": 96.183,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91803,
    "c": 0.18182,
    "h": 134.4
  },
  "luminance": 0.81428
}

Semantic roles & 50–950 ramp

primary
#AFFE7B
secondary
#9F41DC
accent
#00E68A
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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