#AFEF78#AFEF78

#AFEF78 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.3% C 0.164 H 132.2°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#AFEF78
RGBrgb(175, 239, 120)
HSLhsl(92, 79%, 70%)
HSVhsv(92, 50%, 94%)
CMYKcmyk(26.8%, 0%, 49.8%, 6.3%)
CIE-LABlab(88.07, -39.79, 50.79)
CIE-LCHlch(88.07, 64.52, 128.07°)
OKLaboklab(88.34% -0.1102 0.1215)
OKLCHoklch(88.34% 0.164 132.2)
XYZxyz(51.9350, 72.2016, 28.9657)
Luminance0.7220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF78 #B878EF
analogous
#EAEF78 #AFEF78 #78EF7C
triadic
#AFEF78 #78AFEF #EF78AF
tetradic
#AFEF78 #78EAEF #B878EF #EF7C78
square
#AFEF78 #78EAEF #B878EF #EF7C78
split-complementary
#AFEF78 #7C78EF #EF78EA
monochromatic
#6FD419 #8FE941 #AFEF78 #CFF5AF #EFFCE4

Accessibility & contrast

On white

1.36
#AFEF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#AFEF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF78
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF78#FFFFFF#000000##000000
##AFEF781.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06D
Deuteranopia (green-blind)
#EEDB7F
Tritanopia (blue-blind)
#B1E7D4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef78;
/* rgb */ color: rgb(175, 239, 120);
/* oklch */ color: oklch(88.3% 0.164 132.2);
Tailwind
colors: {
  custom: {
    50: '#c9f4a1',
    500: '#afef78',
    950: '#000000',
  },
}
SCSS
$custom: #afef78;
$custom-light: #c9f4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afef78",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 92.269,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88342,
    "c": 0.16404,
    "h": 132.2
  },
  "luminance": 0.72203
}

Semantic roles & 50–950 ramp

primary
#AFEF78
secondary
#8B43C9
accent
#0ADB7B
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF78

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

Preview Lab → · Contrast checker → · Palette generator →

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