#AFFD73#AFFD73

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

Color values

HEX#AFFD73
RGBrgb(175, 253, 115)
HSLhsl(94, 97%, 72%)
HSVhsv(94, 55%, 99%)
CMYKcmyk(30.8%, 0%, 54.5%, 0.8%)
CIE-LABlab(91.95, -46.41, 57.70)
CIE-LCHlch(91.95, 74.05, 128.81°)
OKLaboklab(91.48% -0.1288 0.1362)
OKLCHoklch(91.48% 0.187 133.4)
XYZxyz(55.8980, 80.6003, 28.8286)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD73 #C173FD
analogous
#F4FD73 #AFFD73 #73FD7C
triadic
#AFFD73 #73AFFD #FD73AF
tetradic
#AFFD73 #73F4FD #C173FD #FD7C73
square
#AFFD73 #73F4FD #C173FD #FD7C73
split-complementary
#AFFD73 #7C73FD #FD73F4
monochromatic
#6BF203 #8DFC37 #AFFD73 #D1FEAF #EEFFE1

Accessibility & contrast

On white

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

On black

17.12
#AFFD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD73
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD73#FFFFFF#000000##000000
##AFFD731.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#B0F4DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd73;
/* rgb */ color: rgb(175, 253, 115);
/* oklch */ color: oklch(91.5% 0.187 133.4);
Tailwind
colors: {
  custom: {
    50: '#cafe9f',
    500: '#affd73',
    950: '#000000',
  },
}
SCSS
$custom: #affd73;
$custom-light: #cafe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#affd73",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 115
  },
  "hsl": {
    "h": 93.913,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91477,
    "c": 0.18748,
    "h": 133.4
  },
  "luminance": 0.80602
}

Semantic roles & 50–950 ramp

primary
#AFFD73
secondary
#943BDA
accent
#00E682
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFD73

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

Preview Lab → · Contrast checker → · Palette generator →

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