#AFFC7F#AFFC7F

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

Color values

HEX#AFFC7F
RGBrgb(175, 252, 127)
HSLhsl(97, 95%, 74%)
HSVhsv(97, 50%, 99%)
CMYKcmyk(30.6%, 0%, 49.6%, 1.2%)
CIE-LABlab(91.80, -44.71, 52.07)
CIE-LCHlch(91.80, 68.63, 130.65°)
OKLaboklab(91.4% -0.1234 0.1248)
OKLCHoklch(91.4% 0.175 134.7)
XYZxyz(56.3191, 80.2650, 32.5999)
Luminance0.8027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC7F #CC7FFC
analogous
#EEFC7F #AFFC7F #7FFC8E
triadic
#AFFC7F #7FAFFC #FC7FAF
tetradic
#AFFC7F #7FEEFC #CC7FFC #FC8E7F
square
#AFFC7F #7FEEFC #CC7FFC #FC8E7F
split-complementary
#AFFC7F #8E7FFC #FC7FEE
monochromatic
#64F907 #8AFB43 #AFFC7F #D4FDBB #ECFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFC7F#FFFFFF#000000##000000
##AFFC7F1.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)
#FFEC74
Deuteranopia (green-blind)
#F9E587
Tritanopia (blue-blind)
#AEF4DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc7f;
/* rgb */ color: rgb(175, 252, 127);
/* oklch */ color: oklch(91.4% 0.175 134.7);
Tailwind
colors: {
  custom: {
    50: '#cafea6',
    500: '#affc7f',
    950: '#000000',
  },
}
SCSS
$custom: #affc7f;
$custom-light: #cafea6;
$custom-dark: #000000;
JSON
{
  "hex": "#affc7f",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 127
  },
  "hsl": {
    "h": 96.96,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91398,
    "c": 0.17547,
    "h": 134.7
  },
  "luminance": 0.80267
}

Semantic roles & 50–950 ramp

primary
#AFFC7F
secondary
#A145DA
accent
#00E68D
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141810
muted
#838680

Preview Lab

Preview with #AFFC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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