#AFFA78#AFFA78

#AFFA78 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 90.9% C 0.179 H 133.6°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#AFFA78
RGBrgb(175, 250, 120)
HSLhsl(95, 93%, 73%)
HSVhsv(95, 52%, 98%)
CMYKcmyk(30%, 0%, 52%, 2%)
CIE-LABlab(91.16, -44.61, 54.52)
CIE-LCHlch(91.16, 70.44, 129.29°)
OKLaboklab(90.85% -0.1235 0.1296)
OKLCHoklch(90.85% 0.179 133.6)
XYZxyz(55.2539, 78.8393, 30.0719)
Luminance0.7884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA78 #C378FA
analogous
#F0FA78 #AFFA78 #78FA82
triadic
#AFFA78 #78AFFA #FA78AF
tetradic
#AFFA78 #78F0FA #C378FA #FA8278
square
#AFFA78 #78F0FA #C378FA #FA8278
split-complementary
#AFFA78 #8278FA #FA78F0
monochromatic
#6AEF09 #8CF83D #AFFA78 #D2FCB3 #EEFEE1

Accessibility & contrast

On white

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

On black

16.77
#AFFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA78
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA78#FFFFFF#000000##000000
##AFFA781.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#F8E381
Tritanopia (blue-blind)
#AFF2DD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affa78;
/* rgb */ color: rgb(175, 250, 120);
/* oklch */ color: oklch(90.9% 0.179 133.6);
Tailwind
colors: {
  custom: {
    50: '#cafca2',
    500: '#affa78',
    950: '#000000',
  },
}
SCSS
$custom: #affa78;
$custom-light: #cafca2;
$custom-dark: #000000;
JSON
{
  "hex": "#affa78",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 94.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90851,
    "c": 0.17908,
    "h": 133.6
  },
  "luminance": 0.78841
}

Semantic roles & 50–950 ramp

primary
#AFFA78
secondary
#9740D6
accent
#00E684
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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