#FDF564#FDF564

#FDF564 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.163 H 106.1°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FDF564
RGBrgb(253, 245, 100)
HSLhsl(57, 97%, 69%)
HSVhsv(57, 60%, 99%)
CMYKcmyk(0%, 3.2%, 60.5%, 0.8%)
CIE-LABlab(94.78, -14.53, 68.72)
CIE-LCHlch(94.78, 70.24, 101.94°)
OKLaboklab(95% -0.0454 0.1569)
OKLCHoklch(95% 0.163 106.1)
XYZxyz(75.4632, 87.1100, 24.8929)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF564 #646CFD
analogous
#FDA964 #FDF564 #B9FD64
triadic
#FDF564 #64FDF5 #F564FD
tetradic
#FDF564 #64FDA9 #646CFD #FD64B9
square
#FDF564 #64FDA9 #646CFD #FD64B9
split-complementary
#FDF564 #64B9FD #A964FD
monochromatic
#E4D803 #FCF128 #FDF564 #FEF9A0 #FFFDDD

Accessibility & contrast

On white

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

On black

18.42
#FDF564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF564
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF564#FFFFFF#000000##000000
##FDF5641.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf564;
/* rgb */ color: rgb(253, 245, 100);
/* oklch */ color: oklch(95.0% 0.163 106.1);
Tailwind
colors: {
  custom: {
    50: '#fff896',
    500: '#fdf564',
    950: '#000000',
  },
}
SCSS
$custom: #fdf564;
$custom-light: #fff896;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf564",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 100
  },
  "hsl": {
    "h": 56.863,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95003,
    "c": 0.16337,
    "h": 106.1
  },
  "luminance": 0.87108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF564

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

Preview Lab → · Contrast checker → · Palette generator →

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