#AFF874#AFF874

#AFF874 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.3% C 0.180 H 132.9°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#AFF874
RGBrgb(175, 248, 116)
HSLhsl(93, 90%, 71%)
HSVhsv(93, 53%, 97%)
CMYKcmyk(29.4%, 0%, 53.2%, 2.7%)
CIE-LABlab(90.55, -44.16, 55.61)
CIE-LCHlch(90.55, 71.01, 128.45°)
OKLaboklab(90.35% -0.1226 0.1317)
OKLCHoklch(90.35% 0.18 132.9)
XYZxyz(54.3981, 77.5079, 28.6140)
Luminance0.7751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF874 #BD74F8
analogous
#F1F874 #AFF874 #74F87B
triadic
#AFF874 #74AFF8 #F874AF
tetradic
#AFF874 #74F1F8 #BD74F8 #F87B74
square
#AFF874 #74F1F8 #BD74F8 #F87B74
split-complementary
#AFF874 #7B74F8 #F874F1
monochromatic
#6DE60C #8DF53A #AFF874 #D1FBAE #EEFEE2

Accessibility & contrast

On white

1.27
#AFF874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#AFF874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF874
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF874#FFFFFF#000000##000000
##AFF8741.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE867
Deuteranopia (green-blind)
#F6E27D
Tritanopia (blue-blind)
#B0EFDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff874;
/* rgb */ color: rgb(175, 248, 116);
/* oklch */ color: oklch(90.3% 0.180 132.9);
Tailwind
colors: {
  custom: {
    50: '#cafb9f',
    500: '#aff874',
    950: '#000000',
  },
}
SCSS
$custom: #aff874;
$custom-light: #cafb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#aff874",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 116
  },
  "hsl": {
    "h": 93.182,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90345,
    "c": 0.17994,
    "h": 132.9
  },
  "luminance": 0.7751
}

Semantic roles & 50–950 ramp

primary
#AFF874
secondary
#903DD3
accent
#00E67F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFF874

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

Preview Lab → · Contrast checker → · Palette generator →

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