#FDF771#FDF771

#FDF771 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.155 H 106.6°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FDF771
RGBrgb(253, 247, 113)
HSLhsl(57, 97%, 72%)
HSVhsv(57, 55%, 99%)
CMYKcmyk(0%, 2.4%, 55.3%, 0.8%)
CIE-LABlab(95.41, -14.62, 63.89)
CIE-LCHlch(95.41, 65.54, 102.89°)
OKLaboklab(95.54% -0.0442 0.1483)
OKLCHoklch(95.54% 0.155 106.6)
XYZxyz(76.7517, 88.5987, 28.6778)
Luminance0.8860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF771 #7177FD
analogous
#FDB171 #FDF771 #BDFD71
triadic
#FDF771 #71FDF7 #F771FD
tetradic
#FDF771 #71FDB1 #7177FD #FD71BD
square
#FDF771 #71FDB1 #7177FD #FD71BD
split-complementary
#FDF771 #71BDFD #B171FD
monochromatic
#F0E603 #FCF435 #FDF771 #FEFAAD #FFFDE1

Accessibility & contrast

On white

1.12
#FDF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#FDF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF771
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF771#FFFFFF#000000##000000
##FDF7711.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF63
Deuteranopia (green-blind)
#FFF478
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf771;
/* rgb */ color: rgb(253, 247, 113);
/* oklch */ color: oklch(95.5% 0.155 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fdf771',
    950: '#000000',
  },
}
SCSS
$custom: #fdf771;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf771",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 57.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9554,
    "c": 0.15471,
    "h": 106.6
  },
  "luminance": 0.88596
}

Semantic roles & 50–950 ramp

primary
#FDF771
secondary
#3940D9
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF771

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

Preview Lab → · Contrast checker → · Palette generator →

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