#AFEA78#AFEA78

#AFEA78 is a very light, vivid yellow-green. Relative luminance 0.693; OKLCH L 87.2% C 0.157 H 131.5°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#AFEA78
RGBrgb(175, 234, 120)
HSLhsl(91, 73%, 69%)
HSVhsv(91, 49%, 92%)
CMYKcmyk(25.2%, 0%, 48.7%, 8.2%)
CIE-LABlab(86.66, -37.55, 49.09)
CIE-LCHlch(86.66, 61.80, 127.42°)
OKLaboklab(87.2% -0.104 0.1177)
OKLCHoklch(87.2% 0.157 131.5)
XYZxyz(50.4915, 69.3144, 28.4845)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA78 #B378EA
analogous
#E8EA78 #AFEA78 #78EA7A
triadic
#AFEA78 #78AFEA #EA78AF
tetradic
#AFEA78 #78E8EA #B378EA #EA7A78
square
#AFEA78 #78E8EA #B378EA #EA7A78
split-complementary
#AFEA78 #7A78EA #EA78E8
monochromatic
#71C81F #90E243 #AFEA78 #CEF2AD #EEFAE2

Accessibility & contrast

On white

1.41
#AFEA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#AFEA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA78
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA78#FFFFFF#000000##000000
##AFEA781.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6E
Deuteranopia (green-blind)
#EAD77F
Tritanopia (blue-blind)
#B1E2D0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afea78;
/* rgb */ color: rgb(175, 234, 120);
/* oklch */ color: oklch(87.2% 0.157 131.5);
Tailwind
colors: {
  custom: {
    50: '#c9f1a1',
    500: '#afea78',
    950: '#000000',
  },
}
SCSS
$custom: #afea78;
$custom-light: #c9f1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afea78",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 91.053,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87204,
    "c": 0.15709,
    "h": 131.5
  },
  "luminance": 0.69316
}

Semantic roles & 50–950 ramp

primary
#AFEA78
secondary
#8544C2
accent
#10D576
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFEA78

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

Preview Lab → · Contrast checker → · Palette generator →

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