#FDF56C#FDF56C

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

Color values

HEX#FDF56C
RGBrgb(253, 245, 108)
HSLhsl(57, 97%, 71%)
HSVhsv(57, 57%, 99%)
CMYKcmyk(0%, 3.2%, 57.3%, 0.8%)
CIE-LABlab(94.85, -14.00, 65.43)
CIE-LCHlch(94.85, 66.91, 102.08°)
OKLaboklab(95.08% -0.043 0.151)
OKLCHoklch(95.08% 0.157 105.9)
XYZxyz(75.8696, 87.2726, 27.0332)
Luminance0.8727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF56C #6C74FD
analogous
#FDAC6C #FDF56C #BCFD6C
triadic
#FDF56C #6CFDF5 #F56CFD
tetradic
#FDF56C #6CFDAC #6C74FD #FD6CBC
square
#FDF56C #6CFDAC #6C74FD #FD6CBC
split-complementary
#FDF56C #6CBCFD #AC6CFD
monochromatic
#EBDF03 #FCF130 #FDF56C #FEF9A8 #FFFDE1

Accessibility & contrast

On white

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

On black

18.45
#FDF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF56C
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF56C#FFFFFF#000000##000000
##FDF56C1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf56c;
/* rgb */ color: rgb(253, 245, 108);
/* oklch */ color: oklch(95.1% 0.157 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fdf56c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf56c;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf56c",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 56.69,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9508,
    "c": 0.15697,
    "h": 105.9
  },
  "luminance": 0.8727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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