#FDF56F#FDF56F

#FDF56F is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.1% C 0.154 H 105.8°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#FDF56F
RGBrgb(253, 245, 111)
HSLhsl(57, 97%, 71%)
HSVhsv(57, 56%, 99%)
CMYKcmyk(0%, 3.2%, 56.1%, 0.8%)
CIE-LABlab(94.88, -13.79, 64.16)
CIE-LCHlch(94.88, 65.63, 102.13°)
OKLaboklab(95.11% -0.0421 0.1486)
OKLCHoklch(95.11% 0.154 105.8)
XYZxyz(76.0320, 87.3376, 27.8886)
Luminance0.8733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF56F #6F77FD
analogous
#FDAE6F #FDF56F #BEFD6F
triadic
#FDF56F #6FFDF5 #F56FFD
tetradic
#FDF56F #6FFDAE #6F77FD #FD6FBE
square
#FDF56F #6FFDAE #6F77FD #FD6FBE
split-complementary
#FDF56F #6FBEFD #AE6FFD
monochromatic
#EEE103 #FCF133 #FDF56F #FEF9AB #FFFDE1

Accessibility & contrast

On white

1.14
#FDF56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#FDF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF56F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF56F#FFFFFF#000000##000000
##FDF56F1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED61
Deuteranopia (green-blind)
#FFF376
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf56f;
/* rgb */ color: rgb(253, 245, 111);
/* oklch */ color: oklch(95.1% 0.154 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff89c',
    500: '#fdf56f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf56f;
$custom-light: #fff89c;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf56f",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 56.62,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95111,
    "c": 0.15446,
    "h": 105.8
  },
  "luminance": 0.87335
}

Semantic roles & 50–950 ramp

primary
#FDF56F
secondary
#3740D9
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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