#AFFE7E#AFFE7E

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

Color values

HEX#AFFE7E
RGBrgb(175, 254, 126)
HSLhsl(97, 98%, 75%)
HSVhsv(97, 50%, 100%)
CMYKcmyk(31.1%, 0%, 50.4%, 0.4%)
CIE-LABlab(92.35, -45.68, 53.20)
CIE-LCHlch(92.35, 70.12, 130.65°)
OKLaboklab(91.84% -0.1261 0.1272)
OKLCHoklch(91.84% 0.179 134.8)
XYZxyz(56.8856, 81.5018, 32.4688)
Luminance0.8150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE7E #CD7EFE
analogous
#EFFE7E #AFFE7E #7EFE8D
triadic
#AFFE7E #7EAFFE #FE7EAF
tetradic
#AFFE7E #7EEFFE #CD7EFE #FE8D7E
square
#AFFE7E #7EEFFE #CD7EFE #FE8D7E
split-complementary
#AFFE7E #8D7EFE #FE7EEF
monochromatic
#64FD05 #89FE41 #AFFE7E #D5FEBB #ECFFE1

Accessibility & contrast

On white

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

On black

17.30
#AFFE7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE7E
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE7E#FFFFFF#000000##000000
##AFFE7E1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED73
Deuteranopia (green-blind)
#FBE786
Tritanopia (blue-blind)
#AEF6E1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe7e;
/* rgb */ color: rgb(175, 254, 126);
/* oklch */ color: oklch(91.8% 0.179 134.8);
Tailwind
colors: {
  custom: {
    50: '#caffa6',
    500: '#affe7e',
    950: '#000000',
  },
}
SCSS
$custom: #affe7e;
$custom-light: #caffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#affe7e",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 126
  },
  "hsl": {
    "h": 97.031,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91842,
    "c": 0.17911,
    "h": 134.8
  },
  "luminance": 0.81504
}

Semantic roles & 50–950 ramp

primary
#AFFE7E
secondary
#A244DD
accent
#00E68E
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141810
muted
#838680

Preview Lab

Preview with #AFFE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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