#AFFB7E#AFFB7E

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

Color values

HEX#AFFB7E
RGBrgb(175, 251, 126)
HSLhsl(96, 94%, 74%)
HSVhsv(96, 50%, 98%)
CMYKcmyk(30.3%, 0%, 49.8%, 1.6%)
CIE-LABlab(91.51, -44.39, 52.18)
CIE-LCHlch(91.51, 68.51, 130.39°)
OKLaboklab(91.16% -0.1226 0.1249)
OKLCHoklch(91.16% 0.175 134.5)
XYZxyz(55.9411, 79.6127, 32.1540)
Luminance0.7962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB7E #CA7EFB
analogous
#EEFB7E #AFFB7E #7EFB8C
triadic
#AFFB7E #7EAFFB #FB7EAF
tetradic
#AFFB7E #7EEEFB #CA7EFB #FB8C7E
square
#AFFB7E #7EEEFB #CA7EFB #FB8C7E
split-complementary
#AFFB7E #8C7EFB #FB7EEE
monochromatic
#65F708 #8AF943 #AFFB7E #D4FDB9 #EDFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFB7E#FFFFFF#000000##000000
##AFFB7E1.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)
#FFEB73
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#AFF3DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affb7e;
/* rgb */ color: rgb(175, 251, 126);
/* oklch */ color: oklch(91.2% 0.175 134.5);
Tailwind
colors: {
  custom: {
    50: '#cafda6',
    500: '#affb7e',
    950: '#000000',
  },
}
SCSS
$custom: #affb7e;
$custom-light: #cafda6;
$custom-dark: #000000;
JSON
{
  "hex": "#affb7e",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 126
  },
  "hsl": {
    "h": 96.48,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91157,
    "c": 0.17501,
    "h": 134.5
  },
  "luminance": 0.79615
}

Semantic roles & 50–950 ramp

primary
#AFFB7E
secondary
#9F45D9
accent
#00E68C
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFFB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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