#AFFA77#AFFA77

#AFFA77 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 90.8% C 0.180 H 133.5°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#AFFA77
RGBrgb(175, 250, 119)
HSLhsl(94, 93%, 72%)
HSVhsv(94, 52%, 98%)
CMYKcmyk(30%, 0%, 52.4%, 2%)
CIE-LABlab(91.15, -44.71, 54.96)
CIE-LCHlch(91.15, 70.85, 129.13°)
OKLaboklab(90.84% -0.1239 0.1305)
OKLCHoklch(90.84% 0.18 133.5)
XYZxyz(55.1936, 78.8152, 29.7540)
Luminance0.7882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA77 #C277FA
analogous
#F1FA77 #AFFA77 #77FA80
triadic
#AFFA77 #77AFFA #FA77AF
tetradic
#AFFA77 #77F1FA #C277FA #FA8077
square
#AFFA77 #77F1FA #C277FA #FA8077
split-complementary
#AFFA77 #8077FA #FA77F1
monochromatic
#6BEE09 #8CF83C #AFFA77 #D2FCB2 #EEFEE1

Accessibility & contrast

On white

1.25
#AFFA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#AFFA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA77
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA77#FFFFFF#000000##000000
##AFFA771.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affa77;
/* rgb */ color: rgb(175, 250, 119);
/* oklch */ color: oklch(90.8% 0.180 133.5);
Tailwind
colors: {
  custom: {
    50: '#cafca1',
    500: '#affa77',
    950: '#000000',
  },
}
SCSS
$custom: #affa77;
$custom-light: #cafca1;
$custom-dark: #000000;
JSON
{
  "hex": "#affa77",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 119
  },
  "hsl": {
    "h": 94.351,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90839,
    "c": 0.17998,
    "h": 133.5
  },
  "luminance": 0.78817
}

Semantic roles & 50–950 ramp

primary
#AFFA77
secondary
#963FD6
accent
#00E683
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFA77

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

Preview Lab → · Contrast checker → · Palette generator →

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