#AFFB77#AFFB77

#AFFB77 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.1% C 0.181 H 133.6°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#AFFB77
RGBrgb(175, 251, 119)
HSLhsl(95, 94%, 73%)
HSVhsv(95, 53%, 98%)
CMYKcmyk(30.3%, 0%, 52.6%, 1.6%)
CIE-LABlab(91.43, -45.14, 55.29)
CIE-LCHlch(91.43, 71.38, 129.23°)
OKLaboklab(91.07% -0.1251 0.1313)
OKLCHoklch(91.07% 0.181 133.6)
XYZxyz(55.5051, 79.4383, 29.8578)
Luminance0.7944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB77 #C377FB
analogous
#F1FB77 #AFFB77 #77FB81
triadic
#AFFB77 #77AFFB #FB77AF
tetradic
#AFFB77 #77F1FB #C377FB #FB8177
square
#AFFB77 #77F1FB #C377FB #FB8177
split-complementary
#AFFB77 #8177FB #FB77F1
monochromatic
#6AF107 #8CF93C #AFFB77 #D2FDB2 #EEFEE1

Accessibility & contrast

On white

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

On black

16.89
#AFFB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB77
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB77#FFFFFF#000000##000000
##AFFB771.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#F9E480
Tritanopia (blue-blind)
#AFF2DD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb77;
/* rgb */ color: rgb(175, 251, 119);
/* oklch */ color: oklch(91.1% 0.181 133.6);
Tailwind
colors: {
  custom: {
    50: '#cafda1',
    500: '#affb77',
    950: '#000000',
  },
}
SCSS
$custom: #affb77;
$custom-light: #cafda1;
$custom-dark: #000000;
JSON
{
  "hex": "#affb77",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 119
  },
  "hsl": {
    "h": 94.545,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91068,
    "c": 0.18133,
    "h": 133.6
  },
  "luminance": 0.7944
}

Semantic roles & 50–950 ramp

primary
#AFFB77
secondary
#973FD8
accent
#00E684
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB77

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

Preview Lab → · Contrast checker → · Palette generator →

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