#FDF56D#FDF56D

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

Color values

HEX#FDF56D
RGBrgb(253, 245, 109)
HSLhsl(57, 97%, 71%)
HSVhsv(57, 57%, 99%)
CMYKcmyk(0%, 3.2%, 56.9%, 0.8%)
CIE-LABlab(94.86, -13.93, 65.01)
CIE-LCHlch(94.86, 66.48, 102.10°)
OKLaboklab(95.09% -0.0427 0.1502)
OKLCHoklch(95.09% 0.156 105.9)
XYZxyz(75.9231, 87.2940, 27.3151)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF56D #6D75FD
analogous
#FDAD6D #FDF56D #BDFD6D
triadic
#FDF56D #6DFDF5 #F56DFD
tetradic
#FDF56D #6DFDAD #6D75FD #FD6DBD
square
#FDF56D #6DFDAD #6D75FD #FD6DBD
split-complementary
#FDF56D #6DBDFD #AD6DFD
monochromatic
#ECDF03 #FCF131 #FDF56D #FEF9A9 #FFFDE1

Accessibility & contrast

On white

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

On black

18.46
#FDF56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF56D
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF56D#FFFFFF#000000##000000
##FDF56D1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5E
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf56d;
/* rgb */ color: rgb(253, 245, 109);
/* oklch */ color: oklch(95.1% 0.156 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fdf56d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf56d;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf56d",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 56.667,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9509,
    "c": 0.15614,
    "h": 105.9
  },
  "luminance": 0.87292
}

Semantic roles & 50–950 ramp

primary
#FDF56D
secondary
#353FD9
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF56D

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

Preview Lab → · Contrast checker → · Palette generator →

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