#FDF971#FDF971

#FDF971 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.157 H 107.5°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FDF971
RGBrgb(253, 249, 113)
HSLhsl(58, 97%, 72%)
HSVhsv(58, 55%, 99%)
CMYKcmyk(0%, 1.6%, 55.3%, 0.8%)
CIE-LABlab(95.93, -15.59, 64.47)
CIE-LCHlch(95.93, 66.33, 103.59°)
OKLaboklab(95.95% -0.047 0.1495)
OKLCHoklch(95.95% 0.157 107.5)
XYZxyz(77.3666, 89.8285, 28.8828)
Luminance0.8983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF971 #7175FD
analogous
#FDB371 #FDF971 #BBFD71
triadic
#FDF971 #71FDF9 #F971FD
tetradic
#FDF971 #71FDB3 #7175FD #FD71BB
square
#FDF971 #71FDB3 #7175FD #FD71BB
split-complementary
#FDF971 #71BBFD #B371FD
monochromatic
#F0E903 #FCF635 #FDF971 #FEFCAD #FFFEE1

Accessibility & contrast

On white

1.11
#FDF971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#FDF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF971
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF971#FFFFFF#000000##000000
##FDF9711.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF063
Deuteranopia (green-blind)
#FFF678
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf971;
/* rgb */ color: rgb(253, 249, 113);
/* oklch */ color: oklch(95.9% 0.157 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb9e',
    500: '#fdf971',
    950: '#000000',
  },
}
SCSS
$custom: #fdf971;
$custom-light: #fffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf971",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 58.286,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95948,
    "c": 0.15671,
    "h": 107.5
  },
  "luminance": 0.89826
}

Semantic roles & 50–950 ramp

primary
#FDF971
secondary
#393DD9
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF971

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

Preview Lab → · Contrast checker → · Palette generator →

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