#AFEE78#AFEE78

#AFEE78 is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.1% C 0.163 H 132.1°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#AFEE78
RGBrgb(175, 238, 120)
HSLhsl(92, 78%, 70%)
HSVhsv(92, 50%, 93%)
CMYKcmyk(26.5%, 0%, 49.6%, 6.7%)
CIE-LABlab(87.78, -39.34, 50.45)
CIE-LCHlch(87.78, 63.98, 127.95°)
OKLaboklab(88.11% -0.109 0.1207)
OKLCHoklch(88.11% 0.163 132.1)
XYZxyz(51.6431, 71.6177, 28.8683)
Luminance0.7162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEE78 #B778EE
analogous
#EAEE78 #AFEE78 #78EE7C
triadic
#AFEE78 #78AFEE #EE78AF
tetradic
#AFEE78 #78EAEE #B778EE #EE7C78
square
#AFEE78 #78EAEE #B778EE #EE7C78
split-complementary
#AFEE78 #7C78EE #EE78EA
monochromatic
#70D11A #8FE742 #AFEE78 #CFF5AE #EFFCE4

Accessibility & contrast

On white

1.37
#AFEE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#AFEE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEE78
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEE78#FFFFFF#000000##000000
##AFEE781.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6E
Deuteranopia (green-blind)
#EDDA7F
Tritanopia (blue-blind)
#B1E6D3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afee78;
/* rgb */ color: rgb(175, 238, 120);
/* oklch */ color: oklch(88.1% 0.163 132.1);
Tailwind
colors: {
  custom: {
    50: '#c9f4a1',
    500: '#afee78',
    950: '#000000',
  },
}
SCSS
$custom: #afee78;
$custom-light: #c9f4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afee78",
  "rgb": {
    "r": 175,
    "g": 238,
    "b": 120
  },
  "hsl": {
    "h": 92.034,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88114,
    "c": 0.16265,
    "h": 132.1
  },
  "luminance": 0.71619
}

Semantic roles & 50–950 ramp

primary
#AFEE78
secondary
#8A43C7
accent
#0CDA7A
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEE78

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

Preview Lab → · Contrast checker → · Palette generator →

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