#AFFB7C#AFFB7C

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

Color values

HEX#AFFB7C
RGBrgb(175, 251, 124)
HSLhsl(96, 94%, 74%)
HSVhsv(96, 51%, 98%)
CMYKcmyk(30.3%, 0%, 50.6%, 1.6%)
CIE-LABlab(91.49, -44.61, 53.07)
CIE-LCHlch(91.49, 69.33, 130.05°)
OKLaboklab(91.13% -0.1233 0.1268)
OKLCHoklch(91.13% 0.177 134.2)
XYZxyz(55.8133, 79.5616, 31.4811)
Luminance0.7956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB7C #C87CFB
analogous
#EEFB7C #AFFB7C #7CFB88
triadic
#AFFB7C #7CAFFB #FB7CAF
tetradic
#AFFB7C #7CEEFB #C87CFB #FB887C
square
#AFFB7C #7CEEFB #C87CFB #FB887C
split-complementary
#AFFB7C #887CFB #FB7CEE
monochromatic
#67F507 #8BF941 #AFFB7C #D3FDB7 #EDFEE1

Accessibility & contrast

On white

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

On black

16.91
#AFFB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB7C
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB7C#FFFFFF#000000##000000
##AFFB7C1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affb7c;
/* rgb */ color: rgb(175, 251, 124);
/* oklch */ color: oklch(91.1% 0.177 134.2);
Tailwind
colors: {
  custom: {
    50: '#cafda4',
    500: '#affb7c',
    950: '#000000',
  },
}
SCSS
$custom: #affb7c;
$custom-light: #cafda4;
$custom-dark: #000000;
JSON
{
  "hex": "#affb7c",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 124
  },
  "hsl": {
    "h": 95.906,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91131,
    "c": 0.17684,
    "h": 134.2
  },
  "luminance": 0.79564
}

Semantic roles & 50–950 ramp

primary
#AFFB7C
secondary
#9C43D8
accent
#00E689
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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