#AFFC78#AFFC78

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

Color values

HEX#AFFC78
RGBrgb(175, 252, 120)
HSLhsl(95, 96%, 73%)
HSVhsv(95, 52%, 99%)
CMYKcmyk(30.6%, 0%, 52.4%, 1.2%)
CIE-LABlab(91.72, -45.47, 55.19)
CIE-LCHlch(91.72, 71.50, 129.48°)
OKLaboklab(91.31% -0.1259 0.1311)
OKLCHoklch(91.31% 0.182 133.8)
XYZxyz(55.8787, 80.0888, 30.2802)
Luminance0.8009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC78 #C578FC
analogous
#F1FC78 #AFFC78 #78FC83
triadic
#AFFC78 #78AFFC #FC78AF
tetradic
#AFFC78 #78F1FC #C578FC #FC8378
square
#AFFC78 #78F1FC #C578FC #FC8378
split-complementary
#AFFC78 #8378FC #FC78F1
monochromatic
#69F405 #8CFB3C #AFFC78 #D2FDB4 #EDFEE1

Accessibility & contrast

On white

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

On black

17.02
#AFFC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC78
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC78#FFFFFF#000000##000000
##AFFC781.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affc78;
/* rgb */ color: rgb(175, 252, 120);
/* oklch */ color: oklch(91.3% 0.182 133.8);
Tailwind
colors: {
  custom: {
    50: '#cafea2',
    500: '#affc78',
    950: '#000000',
  },
}
SCSS
$custom: #affc78;
$custom-light: #cafea2;
$custom-dark: #000000;
JSON
{
  "hex": "#affc78",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 95,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91309,
    "c": 0.18179,
    "h": 133.8
  },
  "luminance": 0.80091
}

Semantic roles & 50–950 ramp

primary
#AFFC78
secondary
#993FD9
accent
#00E686
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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