#AFFC7E#AFFC7E

#AFFC7E is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.4% C 0.176 H 134.6°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#AFFC7E
RGBrgb(175, 252, 126)
HSLhsl(97, 95%, 74%)
HSVhsv(97, 50%, 99%)
CMYKcmyk(30.6%, 0%, 50%, 1.2%)
CIE-LABlab(91.79, -44.82, 52.52)
CIE-LCHlch(91.79, 69.04, 130.48°)
OKLaboklab(91.39% -0.1238 0.1257)
OKLCHoklch(91.39% 0.176 134.6)
XYZxyz(56.2543, 80.2391, 32.2584)
Luminance0.8024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC7E #CB7EFC
analogous
#EEFC7E #AFFC7E #7EFC8C
triadic
#AFFC7E #7EAFFC #FC7EAF
tetradic
#AFFC7E #7EEEFC #CB7EFC #FC8C7E
square
#AFFC7E #7EEEFC #CB7EFC #FC8C7E
split-complementary
#AFFC7E #8C7EFC #FC7EEE
monochromatic
#65F906 #8AFB42 #AFFC7E #D4FDBA #ECFEE1

Accessibility & contrast

On white

1.23
#AFFC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#AFFC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC7E
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC7E#FFFFFF#000000##000000
##AFFC7E1.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#F9E586
Tritanopia (blue-blind)
#AFF4DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc7e;
/* rgb */ color: rgb(175, 252, 126);
/* oklch */ color: oklch(91.4% 0.176 134.6);
Tailwind
colors: {
  custom: {
    50: '#cafea6',
    500: '#affc7e',
    950: '#000000',
  },
}
SCSS
$custom: #affc7e;
$custom-light: #cafea6;
$custom-dark: #000000;
JSON
{
  "hex": "#affc7e",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 126
  },
  "hsl": {
    "h": 96.667,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91385,
    "c": 0.17638,
    "h": 134.6
  },
  "luminance": 0.80241
}

Semantic roles & 50–950 ramp

primary
#AFFC7E
secondary
#A044DA
accent
#00E68C
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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