#AFFE74#AFFE74

#AFFE74 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 91.7% C 0.188 H 133.6°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#AFFE74
RGBrgb(175, 254, 116)
HSLhsl(94, 99%, 73%)
HSVhsv(94, 54%, 100%)
CMYKcmyk(31.1%, 0%, 54.3%, 0.4%)
CIE-LABlab(92.25, -46.73, 57.60)
CIE-LCHlch(92.25, 74.17, 129.05°)
OKLaboklab(91.72% -0.1297 0.1361)
OKLCHoklch(91.72% 0.188 133.6)
XYZxyz(56.2724, 81.2565, 29.2388)
Luminance0.8126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE74 #C374FE
analogous
#F4FE74 #AFFE74 #74FE7E
triadic
#AFFE74 #74AFFE #FE74AF
tetradic
#AFFE74 #74F4FE #C374FE #FE7E74
square
#AFFE74 #74F4FE #C374FE #FE7E74
split-complementary
#AFFE74 #7E74FE #FE74F4
monochromatic
#6AF602 #8CFE37 #AFFE74 #D2FEB1 #EEFFE1

Accessibility & contrast

On white

1.22
#AFFE74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#AFFE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE74
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE74#FFFFFF#000000##000000
##AFFE741.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FCE67D
Tritanopia (blue-blind)
#AFF5DF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe74;
/* rgb */ color: rgb(175, 254, 116);
/* oklch */ color: oklch(91.7% 0.188 133.6);
Tailwind
colors: {
  custom: {
    50: '#caff9f',
    500: '#affe74',
    950: '#000000',
  },
}
SCSS
$custom: #affe74;
$custom-light: #caff9f;
$custom-dark: #000000;
JSON
{
  "hex": "#affe74",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 116
  },
  "hsl": {
    "h": 94.348,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91718,
    "c": 0.18795,
    "h": 133.6
  },
  "luminance": 0.81259
}

Semantic roles & 50–950 ramp

primary
#AFFE74
secondary
#973BDB
accent
#00E683
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE74

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

Preview Lab → · Contrast checker → · Palette generator →

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