#AFF878#AFF878

#AFF878 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.4% C 0.176 H 133.4°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#AFF878
RGBrgb(175, 248, 120)
HSLhsl(94, 90%, 72%)
HSVhsv(94, 52%, 97%)
CMYKcmyk(29.4%, 0%, 51.6%, 2.7%)
CIE-LABlab(90.60, -43.74, 53.84)
CIE-LCHlch(90.60, 69.37, 129.09°)
OKLaboklab(90.39% -0.1212 0.1282)
OKLCHoklch(90.39% 0.176 133.4)
XYZxyz(54.6358, 77.6030, 29.8659)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF878 #C178F8
analogous
#EFF878 #AFF878 #78F881
triadic
#AFF878 #78AFF8 #F878AF
tetradic
#AFF878 #78EFF8 #C178F8 #F88178
square
#AFF878 #78EFF8 #C178F8 #F88178
split-complementary
#AFF878 #8178F8 #F878EF
monochromatic
#6BE90C #8DF53E #AFF878 #D1FBB2 #EEFDE2

Accessibility & contrast

On white

1.27
#AFF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#AFF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF878
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF878#FFFFFF#000000##000000
##AFF8781.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86C
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#B0F0DB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff878;
/* rgb */ color: rgb(175, 248, 120);
/* oklch */ color: oklch(90.4% 0.176 133.4);
Tailwind
colors: {
  custom: {
    50: '#cafba2',
    500: '#aff878',
    950: '#000000',
  },
}
SCSS
$custom: #aff878;
$custom-light: #cafba2;
$custom-dark: #000000;
JSON
{
  "hex": "#aff878",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 94.219,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90394,
    "c": 0.17638,
    "h": 133.4
  },
  "luminance": 0.77605
}

Semantic roles & 50–950 ramp

primary
#AFF878
secondary
#9440D4
accent
#00E683
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF878

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

Preview Lab → · Contrast checker → · Palette generator →

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