#FDF560#FDF560

#FDF560 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.166 H 106.2°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#FDF560
RGBrgb(253, 245, 96)
HSLhsl(57, 98%, 68%)
HSVhsv(57, 62%, 99%)
CMYKcmyk(0%, 3.2%, 62.1%, 0.8%)
CIE-LABlab(94.75, -14.78, 70.31)
CIE-LCHlch(94.75, 71.85, 101.87°)
OKLaboklab(94.97% -0.0465 0.1598)
OKLCHoklch(94.97% 0.166 106.2)
XYZxyz(75.2744, 87.0345, 23.8982)
Luminance0.8703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF560 #6068FD
analogous
#FDA660 #FDF560 #B6FD60
triadic
#FDF560 #60FDF5 #F560FD
tetradic
#FDF560 #60FDA6 #6068FD #FD60B6
square
#FDF560 #60FDA6 #6068FD #FD60B6
split-complementary
#FDF560 #60B6FD #A660FD
monochromatic
#E0D503 #FCF124 #FDF560 #FEF99C #FFFDD9

Accessibility & contrast

On white

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

On black

18.41
#FDF560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF560
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF560#FFFFFF#000000##000000
##FDF5601.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4E
Deuteranopia (green-blind)
#FFF369
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf560;
/* rgb */ color: rgb(253, 245, 96);
/* oklch */ color: oklch(95.0% 0.166 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff893',
    500: '#fdf560',
    950: '#000000',
  },
}
SCSS
$custom: #fdf560;
$custom-light: #fff893;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf560",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 96
  },
  "hsl": {
    "h": 56.943,
    "s": 97.516,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94967,
    "c": 0.1664,
    "h": 106.2
  },
  "luminance": 0.87032
}

Semantic roles & 50–950 ramp

primary
#FDF560
secondary
#2A33D7
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF560

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

Preview Lab → · Contrast checker → · Palette generator →

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