#AFFE7C#AFFE7C

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

Color values

HEX#AFFE7C
RGBrgb(175, 254, 124)
HSLhsl(96, 98%, 74%)
HSVhsv(96, 51%, 100%)
CMYKcmyk(31.1%, 0%, 51.2%, 0.4%)
CIE-LABlab(92.33, -45.90, 54.09)
CIE-LCHlch(92.33, 70.94, 130.32°)
OKLaboklab(91.82% -0.1269 0.129)
OKLCHoklch(91.82% 0.181 134.5)
XYZxyz(56.7579, 81.4507, 31.7959)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE7C #CB7CFE
analogous
#F0FE7C #AFFE7C #7CFE8A
triadic
#AFFE7C #7CAFFE #FE7CAF
tetradic
#AFFE7C #7CF0FE #CB7CFE #FE8A7C
square
#AFFE7C #7CF0FE #CB7CFE #FE8A7C
split-complementary
#AFFE7C #8A7CFE #FE7CF0
monochromatic
#65FD03 #8AFE3F #AFFE7C #D4FEB9 #ECFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFE7C#FFFFFF#000000##000000
##AFFE7C1.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)
#FFED70
Deuteranopia (green-blind)
#FBE785
Tritanopia (blue-blind)
#AFF6E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe7c;
/* rgb */ color: rgb(175, 254, 124);
/* oklch */ color: oklch(91.8% 0.181 134.5);
Tailwind
colors: {
  custom: {
    50: '#caffa5',
    500: '#affe7c',
    950: '#000000',
  },
}
SCSS
$custom: #affe7c;
$custom-light: #caffa5;
$custom-dark: #000000;
JSON
{
  "hex": "#affe7c",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 96.462,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91816,
    "c": 0.18093,
    "h": 134.5
  },
  "luminance": 0.81453
}

Semantic roles & 50–950 ramp

primary
#AFFE7C
secondary
#A042DC
accent
#00E68B
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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