#AFFC73#AFFC73

#AFFC73 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.2% C 0.186 H 133.3°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#AFFC73
RGBrgb(175, 252, 115)
HSLhsl(94, 96%, 72%)
HSVhsv(94, 54%, 99%)
CMYKcmyk(30.6%, 0%, 54.4%, 1.2%)
CIE-LABlab(91.67, -45.98, 57.37)
CIE-LCHlch(91.67, 73.52, 128.71°)
OKLaboklab(91.25% -0.1277 0.1355)
OKLCHoklch(91.25% 0.186 133.3)
XYZxyz(55.5831, 79.9706, 28.7236)
Luminance0.7997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC73 #C073FC
analogous
#F3FC73 #AFFC73 #73FC7C
triadic
#AFFC73 #73AFFC #FC73AF
tetradic
#AFFC73 #73F3FC #C073FC #FC7C73
square
#AFFC73 #73F3FC #C073FC #FC7C73
split-complementary
#AFFC73 #7C73FC #FC73F3
monochromatic
#6CEF05 #8DFB37 #AFFC73 #D1FDAF #EEFEE1

Accessibility & contrast

On white

1.24
#AFFC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#AFFC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC73
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC73#FFFFFF#000000##000000
##AFFC731.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB66
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#B0F3DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc73;
/* rgb */ color: rgb(175, 252, 115);
/* oklch */ color: oklch(91.2% 0.186 133.3);
Tailwind
colors: {
  custom: {
    50: '#cafe9f',
    500: '#affc73',
    950: '#000000',
  },
}
SCSS
$custom: #affc73;
$custom-light: #cafe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#affc73",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 115
  },
  "hsl": {
    "h": 93.723,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91248,
    "c": 0.18615,
    "h": 133.3
  },
  "luminance": 0.79973
}

Semantic roles & 50–950 ramp

primary
#AFFC73
secondary
#933BD8
accent
#00E681
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC73

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

Preview Lab → · Contrast checker → · Palette generator →

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