#AFF978#AFF978

#AFF978 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 90.6% C 0.178 H 133.5°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#AFF978
RGBrgb(175, 249, 120)
HSLhsl(94, 91%, 72%)
HSVhsv(94, 52%, 98%)
CMYKcmyk(29.7%, 0%, 51.8%, 2.4%)
CIE-LABlab(90.88, -44.17, 54.18)
CIE-LCHlch(90.88, 69.91, 129.19°)
OKLaboklab(90.62% -0.1224 0.1289)
OKLCHoklch(90.62% 0.178 133.5)
XYZxyz(54.9440, 78.2195, 29.9686)
Luminance0.7822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF978 #C278F9
analogous
#EFF978 #AFF978 #78F982
triadic
#AFF978 #78AFF9 #F978AF
tetradic
#AFF978 #78EFF9 #C278F9 #F98278
square
#AFF978 #78EFF9 #C278F9 #F98278
split-complementary
#AFF978 #8278F9 #F978EF
monochromatic
#6BEC0A #8CF63D #AFF978 #D2FCB3 #EEFEE2

Accessibility & contrast

On white

1.26
#AFF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#AFF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF978
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF978#FFFFFF#000000##000000
##AFF9781.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#F7E380
Tritanopia (blue-blind)
#B0F1DC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff978;
/* rgb */ color: rgb(175, 249, 120);
/* oklch */ color: oklch(90.6% 0.178 133.5);
Tailwind
colors: {
  custom: {
    50: '#cafba2',
    500: '#aff978',
    950: '#000000',
  },
}
SCSS
$custom: #aff978;
$custom-light: #cafba2;
$custom-dark: #000000;
JSON
{
  "hex": "#aff978",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 94.419,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90623,
    "c": 0.17774,
    "h": 133.5
  },
  "luminance": 0.78221
}

Semantic roles & 50–950 ramp

primary
#AFF978
secondary
#9640D5
accent
#00E684
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF978

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

Preview Lab → · Contrast checker → · Palette generator →

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