#FDFD8C#FDFD8C

#FDFD8C is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.1% C 0.136 H 108.7°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FDFD8C
RGBrgb(253, 253, 140)
HSLhsl(60, 97%, 77%)
HSVhsv(60, 45%, 99%)
CMYKcmyk(0%, 0%, 44.7%, 0.8%)
CIE-LABlab(97.24, -15.29, 53.78)
CIE-LCHlch(97.24, 55.91, 105.87°)
OKLaboklab(97.09% -0.0435 0.1287)
OKLCHoklch(97.09% 0.136 108.7)
XYZxyz(80.3685, 93.0285, 38.5285)
Luminance0.9303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDFD8C #8C8CFD
analogous
#FDC58C #FDFD8C #C5FD8C
triadic
#FDFD8C #8CFDFD #FD8CFD
tetradic
#FDFD8C #8CFDC5 #8C8CFD #FD8CC5
square
#FDFD8C #8CFDC5 #8C8CFD #FD8CC5
split-complementary
#FDFD8C #8CC5FD #C58CFD
monochromatic
#FBFB14 #FCFC50 #FDFD8C #FEFEC8 #FEFEE1

Accessibility & contrast

On white

1.07
#FDFD8C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.61
#FDFD8C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDFD8C
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDFD8C#FFFFFF#000000##000000
##FDFD8C1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF582
Deuteranopia (green-blind)
#FFF991
Tritanopia (blue-blind)
#FFF1E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fdfd8c;
/* rgb */ color: rgb(253, 253, 140);
/* oklch */ color: oklch(97.1% 0.136 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffdb0',
    500: '#fdfd8c',
    950: '#000000',
  },
}
SCSS
$custom: #fdfd8c;
$custom-light: #fffdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdfd8c",
  "rgb": {
    "r": 253,
    "g": 253,
    "b": 140
  },
  "hsl": {
    "h": 60,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.97087,
    "c": 0.13583,
    "h": 108.7
  },
  "luminance": 0.93027
}

Semantic roles & 50–950 ramp

primary
#FDFD8C
secondary
#5050DD
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FDFD8C

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

Preview Lab → · Contrast checker → · Palette generator →

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