#AFEB78#AFEB78

#AFEB78 is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.4% C 0.158 H 131.6°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#AFEB78
RGBrgb(175, 235, 120)
HSLhsl(91, 74%, 70%)
HSVhsv(91, 49%, 92%)
CMYKcmyk(25.5%, 0%, 48.9%, 7.8%)
CIE-LABlab(86.94, -38.00, 49.43)
CIE-LCHlch(86.94, 62.35, 127.55°)
OKLaboklab(87.43% -0.1053 0.1185)
OKLCHoklch(87.43% 0.158 131.6)
XYZxyz(50.7770, 69.8854, 28.5796)
Luminance0.6989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB78 #B478EB
analogous
#E9EB78 #AFEB78 #78EB7A
triadic
#AFEB78 #78AFEB #EB78AF
tetradic
#AFEB78 #78E9EB #B478EB #EB7A78
square
#AFEB78 #78E9EB #B478EB #EB7A78
split-complementary
#AFEB78 #7A78EB #EB78E9
monochromatic
#71CB1E #8FE343 #AFEB78 #CFF3AD #EEFBE3

Accessibility & contrast

On white

1.40
#AFEB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#AFEB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB78
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB78#FFFFFF#000000##000000
##AFEB781.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6E
Deuteranopia (green-blind)
#EBD87F
Tritanopia (blue-blind)
#B1E3D0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb78;
/* rgb */ color: rgb(175, 235, 120);
/* oklch */ color: oklch(87.4% 0.158 131.6);
Tailwind
colors: {
  custom: {
    50: '#c9f1a1',
    500: '#afeb78',
    950: '#000000',
  },
}
SCSS
$custom: #afeb78;
$custom-light: #c9f1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb78",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 91.304,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87431,
    "c": 0.15848,
    "h": 131.6
  },
  "luminance": 0.69887
}

Semantic roles & 50–950 ramp

primary
#AFEB78
secondary
#8644C4
accent
#0FD677
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB78

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

Preview Lab → · Contrast checker → · Palette generator →

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