#FDFD7C#FDFD7C

#FDFD7C is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.9% C 0.151 H 108.9°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FDFD7C
RGBrgb(253, 253, 124)
HSLhsl(60, 97%, 74%)
HSVhsv(60, 51%, 99%)
CMYKcmyk(0%, 0%, 51%, 0.8%)
CIE-LABlab(97.06, -16.68, 60.92)
CIE-LCHlch(97.06, 63.16, 105.31°)
OKLaboklab(96.89% -0.049 0.143)
OKLCHoklch(96.89% 0.151 108.9)
XYZxyz(79.2733, 92.5904, 32.7607)
Luminance0.9259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDFD7C #7C7CFD
analogous
#FDBD7C #FDFD7C #BDFD7C
triadic
#FDFD7C #7CFDFD #FD7CFD
tetradic
#FDFD7C #7CFDBD #7C7CFD #FD7CBD
square
#FDFD7C #7CFDBD #7C7CFD #FD7CBD
split-complementary
#FDFD7C #7CBDFD #BD7CFD
monochromatic
#FBFB04 #FCFC40 #FDFD7C #FEFEB8 #FFFFE1

Accessibility & contrast

On white

1.08
#FDFD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.52
#FDFD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDFD7C
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDFD7C#FFFFFF#000000##000000
##FDFD7C1.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF470
Deuteranopia (green-blind)
#FFF983
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fdfd7c;
/* rgb */ color: rgb(253, 253, 124);
/* oklch */ color: oklch(96.9% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffda5',
    500: '#fdfd7c',
    950: '#000000',
  },
}
SCSS
$custom: #fdfd7c;
$custom-light: #fffda5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdfd7c",
  "rgb": {
    "r": 253,
    "g": 253,
    "b": 124
  },
  "hsl": {
    "h": 60,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.96888,
    "c": 0.15114,
    "h": 108.9
  },
  "luminance": 0.92588
}

Semantic roles & 50–950 ramp

primary
#FDFD7C
secondary
#4242DB
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDFD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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