#AFED78#AFED78

#AFED78 is a very light, vivid yellow-green. Relative luminance 0.710; OKLCH L 87.9% C 0.161 H 131.9°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#AFED78
RGBrgb(175, 237, 120)
HSLhsl(92, 76%, 70%)
HSVhsv(92, 49%, 93%)
CMYKcmyk(26.2%, 0%, 49.4%, 7.1%)
CIE-LABlab(87.50, -38.90, 50.11)
CIE-LCHlch(87.50, 63.44, 127.82°)
OKLaboklab(87.89% -0.1078 0.12)
OKLCHoklch(87.89% 0.161 131.9)
XYZxyz(51.3528, 71.0370, 28.7716)
Luminance0.7104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFED78 #B678ED
analogous
#EAED78 #AFED78 #78ED7B
triadic
#AFED78 #78AFED #ED78AF
tetradic
#AFED78 #78EAED #B678ED #ED7B78
square
#AFED78 #78EAED #B678ED #ED7B78
split-complementary
#AFED78 #7B78ED #ED78EA
monochromatic
#70CF1C #8FE642 #AFED78 #CFF4AE #EFFBE4

Accessibility & contrast

On white

1.38
#AFED78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#AFED78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFED78
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFED78#FFFFFF#000000##000000
##AFED781.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6E
Deuteranopia (green-blind)
#EDDA7F
Tritanopia (blue-blind)
#B1E5D2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afed78;
/* rgb */ color: rgb(175, 237, 120);
/* oklch */ color: oklch(87.9% 0.161 131.9);
Tailwind
colors: {
  custom: {
    50: '#c9f3a1',
    500: '#afed78',
    950: '#000000',
  },
}
SCSS
$custom: #afed78;
$custom-light: #c9f3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afed78",
  "rgb": {
    "r": 175,
    "g": 237,
    "b": 120
  },
  "hsl": {
    "h": 91.795,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.87886,
    "c": 0.16126,
    "h": 131.9
  },
  "luminance": 0.71038
}

Semantic roles & 50–950 ramp

primary
#AFED78
secondary
#8943C6
accent
#0DD979
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFED78

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

Preview Lab → · Contrast checker → · Palette generator →

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