#AFFD7B#AFFD7B

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

Color values

HEX#AFFD7B
RGBrgb(175, 253, 123)
HSLhsl(96, 97%, 74%)
HSVhsv(96, 51%, 99%)
CMYKcmyk(30.8%, 0%, 51.4%, 0.8%)
CIE-LABlab(92.04, -45.58, 54.20)
CIE-LCHlch(92.04, 70.81, 130.06°)
OKLaboklab(91.57% -0.126 0.1292)
OKLCHoklch(91.57% 0.18 134.3)
XYZxyz(56.3785, 80.7925, 31.3591)
Luminance0.8079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD7B #C97BFD
analogous
#F0FD7B #AFFD7B #7BFD88
triadic
#AFFD7B #7BAFFD #FD7BAF
tetradic
#AFFD7B #7BF0FD #C97BFD #FD887B
square
#AFFD7B #7BF0FD #C97BFD #FD887B
split-complementary
#AFFD7B #887BFD #FD7BF0
monochromatic
#66FA04 #8AFC3F #AFFD7B #D4FEB7 #EDFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFD7B#FFFFFF#000000##000000
##AFFD7B1.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)
#FFEC6F
Deuteranopia (green-blind)
#FAE684
Tritanopia (blue-blind)
#AFF5DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd7b;
/* rgb */ color: rgb(175, 253, 123);
/* oklch */ color: oklch(91.6% 0.180 134.3);
Tailwind
colors: {
  custom: {
    50: '#cafea4',
    500: '#affd7b',
    950: '#000000',
  },
}
SCSS
$custom: #affd7b;
$custom-light: #cafea4;
$custom-dark: #000000;
JSON
{
  "hex": "#affd7b",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 123
  },
  "hsl": {
    "h": 96,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91575,
    "c": 0.18047,
    "h": 134.3
  },
  "luminance": 0.80795
}

Semantic roles & 50–950 ramp

primary
#AFFD7B
secondary
#9D41DB
accent
#00E68A
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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