#FDF071#FDF071

#FDF071 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.148 H 103.5°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FDF071
RGBrgb(253, 240, 113)
HSLhsl(54, 97%, 72%)
HSVhsv(54, 55%, 99%)
CMYKcmyk(0%, 5.1%, 55.3%, 0.8%)
CIE-LABlab(93.62, -11.19, 61.86)
CIE-LCHlch(93.62, 62.86, 100.26°)
OKLaboklab(94.12% -0.0345 0.1439)
OKLCHoklch(94.12% 0.148 103.5)
XYZxyz(74.6512, 84.3977, 27.9777)
Luminance0.8439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF071 #717EFD
analogous
#FDAA71 #FDF071 #C4FD71
triadic
#FDF071 #71FDF0 #F071FD
tetradic
#FDF071 #71FDAA #717EFD #FD71C4
square
#FDF071 #71FDAA #717EFD #FD71C4
split-complementary
#FDF071 #71C4FD #AA71FD
monochromatic
#F0DA03 #FCEA35 #FDF071 #FEF6AD #FFFCE1

Accessibility & contrast

On white

1.17
#FDF071 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#FDF071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF071
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF071#FFFFFF#000000##000000
##FDF0711.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf071;
/* rgb */ color: rgb(253, 240, 113);
/* oklch */ color: oklch(94.1% 0.148 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#fdf071',
    950: '#000000',
  },
}
SCSS
$custom: #fdf071;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf071",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 113
  },
  "hsl": {
    "h": 54.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94116,
    "c": 0.14796,
    "h": 103.5
  },
  "luminance": 0.84395
}

Semantic roles & 50–950 ramp

primary
#FDF071
secondary
#3948D9
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF071

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

Preview Lab → · Contrast checker → · Palette generator →

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