#AFFC77#AFFC77

#AFFC77 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.3% C 0.183 H 133.7°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#AFFC77
RGBrgb(175, 252, 119)
HSLhsl(95, 96%, 73%)
HSVhsv(95, 53%, 99%)
CMYKcmyk(30.6%, 0%, 52.8%, 1.2%)
CIE-LABlab(91.71, -45.57, 55.63)
CIE-LCHlch(91.71, 71.91, 129.33°)
OKLaboklab(91.3% -0.1263 0.132)
OKLCHoklch(91.3% 0.183 133.7)
XYZxyz(55.8183, 80.0647, 29.9622)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC77 #C477FC
analogous
#F1FC77 #AFFC77 #77FC82
triadic
#AFFC77 #77AFFC #FC77AF
tetradic
#AFFC77 #77F1FC #C477FC #FC8277
square
#AFFC77 #77F1FC #C477FC #FC8277
split-complementary
#AFFC77 #8277FC #FC77F1
monochromatic
#6AF305 #8CFB3B #AFFC77 #D2FDB3 #EDFEE1

Accessibility & contrast

On white

1.23
#AFFC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#AFFC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC77
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC77#FFFFFF#000000##000000
##AFFC771.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affc77;
/* rgb */ color: rgb(175, 252, 119);
/* oklch */ color: oklch(91.3% 0.183 133.7);
Tailwind
colors: {
  custom: {
    50: '#cafea1',
    500: '#affc77',
    950: '#000000',
  },
}
SCSS
$custom: #affc77;
$custom-light: #cafea1;
$custom-dark: #000000;
JSON
{
  "hex": "#affc77",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 119
  },
  "hsl": {
    "h": 94.737,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91296,
    "c": 0.18267,
    "h": 133.7
  },
  "luminance": 0.80067
}

Semantic roles & 50–950 ramp

primary
#AFFC77
secondary
#983ED9
accent
#00E685
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC77

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

Preview Lab → · Contrast checker → · Palette generator →

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