#AFFD74#AFFD74

#AFFD74 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.5% C 0.187 H 133.5°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#AFFD74
RGBrgb(175, 253, 116)
HSLhsl(94, 97%, 72%)
HSVhsv(94, 54%, 99%)
CMYKcmyk(30.8%, 0%, 54.2%, 0.8%)
CIE-LABlab(91.96, -46.31, 57.27)
CIE-LCHlch(91.96, 73.65, 128.96°)
OKLaboklab(91.49% -0.1285 0.1353)
OKLCHoklch(91.49% 0.187 133.5)
XYZxyz(55.9558, 80.6235, 29.1333)
Luminance0.8063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD74 #C274FD
analogous
#F3FD74 #AFFD74 #74FD7E
triadic
#AFFD74 #74AFFD #FD74AF
tetradic
#AFFD74 #74F3FD #C274FD #FD7E74
square
#AFFD74 #74F3FD #C274FD #FD7E74
split-complementary
#AFFD74 #7E74FD #FD74F3
monochromatic
#6BF303 #8CFC38 #AFFD74 #D2FEB0 #EEFFE1

Accessibility & contrast

On white

1.23
#AFFD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#AFFD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD74
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD74#FFFFFF#000000##000000
##AFFD741.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FBE67D
Tritanopia (blue-blind)
#B0F4DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd74;
/* rgb */ color: rgb(175, 253, 116);
/* oklch */ color: oklch(91.5% 0.187 133.5);
Tailwind
colors: {
  custom: {
    50: '#cafe9f',
    500: '#affd74',
    950: '#000000',
  },
}
SCSS
$custom: #affd74;
$custom-light: #cafe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#affd74",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 116
  },
  "hsl": {
    "h": 94.161,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91489,
    "c": 0.18663,
    "h": 133.5
  },
  "luminance": 0.80625
}

Semantic roles & 50–950 ramp

primary
#AFFD74
secondary
#963BDA
accent
#00E683
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFD74

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

Preview Lab → · Contrast checker → · Palette generator →

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