#FDF956#FDF956

#FDF956 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.177 H 107.9°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#FDF956
RGBrgb(253, 249, 86)
HSLhsl(59, 98%, 66%)
HSVhsv(59, 66%, 99%)
CMYKcmyk(0%, 1.6%, 66%, 0.8%)
CIE-LABlab(95.71, -17.29, 75.18)
CIE-LCHlch(95.71, 77.14, 102.95°)
OKLaboklab(95.71% -0.0546 0.1686)
OKLCHoklch(95.71% 0.177 107.9)
XYZxyz(76.0661, 89.3083, 22.0336)
Luminance0.8931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF956 #565AFD
analogous
#FDA656 #FDF956 #AEFD56
triadic
#FDF956 #56FDF9 #F956FD
tetradic
#FDF956 #56FDA6 #565AFD #FD56AE
square
#FDF956 #56FDA6 #565AFD #FD56AE
split-complementary
#FDF956 #56AEFD #A656FD
monochromatic
#D6D103 #FCF71A #FDF956 #FEFB92 #FEFDCF

Accessibility & contrast

On white

1.11
#FDF956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#FDF956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF956
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF956#FFFFFF#000000##000000
##FDF9561.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF3E
Deuteranopia (green-blind)
#FFF561
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf956;
/* rgb */ color: rgb(253, 249, 86);
/* oklch */ color: oklch(95.7% 0.177 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffb8e',
    500: '#fdf956',
    950: '#000000',
  },
}
SCSS
$custom: #fdf956;
$custom-light: #fffb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf956",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 86
  },
  "hsl": {
    "h": 58.563,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95706,
    "c": 0.17719,
    "h": 107.9
  },
  "luminance": 0.89306
}

Semantic roles & 50–950 ramp

primary
#FDF956
secondary
#272BD0
accent
#05E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FDF956

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

Preview Lab → · Contrast checker → · Palette generator →

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