#AFFB7D#AFFB7D

#AFFB7D is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.1% C 0.176 H 134.3°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#AFFB7D
RGBrgb(175, 251, 125)
HSLhsl(96, 94%, 74%)
HSVhsv(96, 50%, 98%)
CMYKcmyk(30.3%, 0%, 50.2%, 1.6%)
CIE-LABlab(91.50, -44.50, 52.63)
CIE-LCHlch(91.50, 68.92, 130.22°)
OKLaboklab(91.14% -0.1229 0.1259)
OKLCHoklch(91.14% 0.176 134.3)
XYZxyz(55.8769, 79.5870, 31.8158)
Luminance0.7959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB7D #C97DFB
analogous
#EEFB7D #AFFB7D #7DFB8A
triadic
#AFFB7D #7DAFFB #FB7DAF
tetradic
#AFFB7D #7DEEFB #C97DFB #FB8A7D
square
#AFFB7D #7DEEFB #C97DFB #FB8A7D
split-complementary
#AFFB7D #8A7DFB #FB7DEE
monochromatic
#66F608 #8AF942 #AFFB7D #D4FDB8 #EDFEE1

Accessibility & contrast

On white

1.24
#AFFB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#AFFB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB7D
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB7D#FFFFFF#000000##000000
##AFFB7D1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#F8E485
Tritanopia (blue-blind)
#AFF3DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affb7d;
/* rgb */ color: rgb(175, 251, 125);
/* oklch */ color: oklch(91.1% 0.176 134.3);
Tailwind
colors: {
  custom: {
    50: '#cafda5',
    500: '#affb7d',
    950: '#000000',
  },
}
SCSS
$custom: #affb7d;
$custom-light: #cafda5;
$custom-dark: #000000;
JSON
{
  "hex": "#affb7d",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 125
  },
  "hsl": {
    "h": 96.19,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91144,
    "c": 0.17593,
    "h": 134.3
  },
  "luminance": 0.79589
}

Semantic roles & 50–950 ramp

primary
#AFFB7D
secondary
#9D44D8
accent
#00E68A
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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