#FFFC71#FFFC71

#FFFC71 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.7% C 0.160 H 107.9°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FFFC71
RGBrgb(255, 252, 113)
HSLhsl(59, 100%, 72%)
HSVhsv(59, 56%, 100%)
CMYKcmyk(0%, 1.2%, 55.7%, 0%)
CIE-LABlab(96.85, -16.25, 65.55)
CIE-LCHlch(96.85, 67.54, 103.92°)
OKLaboklab(96.72% -0.049 0.1518)
OKLCHoklch(96.72% 0.16 107.9)
XYZxyz(79.0333, 92.0753, 29.2287)
Luminance0.9207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC71 #7174FF
analogous
#FFB571 #FFFC71 #BBFF71
triadic
#FFFC71 #71FFFC #FC71FF
tetradic
#FFFC71 #71FFB5 #7174FF #FF71BB
square
#FFFC71 #71FFB5 #7174FF #FF71BB
split-complementary
#FFFC71 #71BBFF #B571FF
monochromatic
#F6F000 #FFFB34 #FFFC71 #FFFDAE #FFFEE0

Accessibility & contrast

On white

1.08
#FFFC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#FFFC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC71
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC71#FFFFFF#000000##000000
##FFFC711.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF362
Deuteranopia (green-blind)
#FFF879
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc71;
/* rgb */ color: rgb(255, 252, 113);
/* oklch */ color: oklch(96.7% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffd9e',
    500: '#fffc71',
    950: '#000000',
  },
}
SCSS
$custom: #fffc71;
$custom-light: #fffd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc71",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 113
  },
  "hsl": {
    "h": 58.732,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.96723,
    "c": 0.1595,
    "h": 107.9
  },
  "luminance": 0.92073
}

Semantic roles & 50–950 ramp

primary
#FFFC71
secondary
#383CDC
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC71

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

Preview Lab → · Contrast checker → · Palette generator →

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