#AFFD7C#AFFD7C

#AFFD7C is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.6% C 0.180 H 134.4°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#AFFD7C
RGBrgb(175, 253, 124)
HSLhsl(96, 97%, 74%)
HSVhsv(96, 51%, 99%)
CMYKcmyk(30.8%, 0%, 51%, 0.8%)
CIE-LABlab(92.05, -45.47, 53.75)
CIE-LCHlch(92.05, 70.40, 130.23°)
OKLaboklab(91.59% -0.1257 0.1283)
OKLCHoklch(91.59% 0.18 134.4)
XYZxyz(56.4414, 80.8177, 31.6904)
Luminance0.8082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD7C #CA7CFD
analogous
#F0FD7C #AFFD7C #7CFD8A
triadic
#AFFD7C #7CAFFD #FD7CAF
tetradic
#AFFD7C #7CF0FD #CA7CFD #FD8A7C
square
#AFFD7C #7CF0FD #CA7CFD #FD8A7C
split-complementary
#AFFD7C #8A7CFD #FD7CF0
monochromatic
#65FB04 #8AFC40 #AFFD7C #D4FEB8 #EDFFE1

Accessibility & contrast

On white

1.22
#AFFD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#AFFD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD7C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD7C#FFFFFF#000000##000000
##AFFD7C1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC70
Deuteranopia (green-blind)
#FAE684
Tritanopia (blue-blind)
#AFF5E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd7c;
/* rgb */ color: rgb(175, 253, 124);
/* oklch */ color: oklch(91.6% 0.180 134.4);
Tailwind
colors: {
  custom: {
    50: '#cafea5',
    500: '#affd7c',
    950: '#000000',
  },
}
SCSS
$custom: #affd7c;
$custom-light: #cafea5;
$custom-dark: #000000;
JSON
{
  "hex": "#affd7c",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 124
  },
  "hsl": {
    "h": 96.279,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91587,
    "c": 0.17956,
    "h": 134.4
  },
  "luminance": 0.8082
}

Semantic roles & 50–950 ramp

primary
#AFFD7C
secondary
#9F42DB
accent
#00E68B
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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