#AFF278#AFF278

#AFF278 is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.0% C 0.168 H 132.6°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#AFF278
RGBrgb(175, 242, 120)
HSLhsl(93, 82%, 71%)
HSVhsv(93, 50%, 95%)
CMYKcmyk(27.7%, 0%, 50.4%, 5.1%)
CIE-LABlab(88.91, -41.12, 51.81)
CIE-LCHlch(88.91, 66.15, 128.43°)
OKLaboklab(89.03% -0.1139 0.1237)
OKLCHoklch(89.03% 0.168 132.6)
XYZxyz(52.8206, 73.9727, 29.2608)
Luminance0.7397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF278 #BB78F2
analogous
#ECF278 #AFF278 #78F27E
triadic
#AFF278 #78AFF2 #F278AF
tetradic
#AFF278 #78ECF2 #BB78F2 #F27E78
square
#AFF278 #78ECF2 #BB78F2 #F27E78
split-complementary
#AFF278 #7E78F2 #F278EC
monochromatic
#6EDB15 #8EED40 #AFF278 #D0F7B0 #EEFCE3

Accessibility & contrast

On white

1.33
#AFF278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#AFF278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF278
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF278#FFFFFF#000000##000000
##AFF2781.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36D
Deuteranopia (green-blind)
#F1DD80
Tritanopia (blue-blind)
#B0EAD6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #aff278;
/* rgb */ color: rgb(175, 242, 120);
/* oklch */ color: oklch(89.0% 0.168 132.6);
Tailwind
colors: {
  custom: {
    50: '#caf6a1',
    500: '#aff278',
    950: '#000000',
  },
}
SCSS
$custom: #aff278;
$custom-light: #caf6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aff278",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 92.951,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89025,
    "c": 0.16818,
    "h": 132.6
  },
  "luminance": 0.73974
}

Semantic roles & 50–950 ramp

primary
#AFF278
secondary
#8E42CC
accent
#07DF7D
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFF278

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

Preview Lab → · Contrast checker → · Palette generator →

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