#FDF781#FDF781

#FDF781 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.7% C 0.140 H 106.2°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#FDF781
RGBrgb(253, 247, 129)
HSLhsl(57, 97%, 75%)
HSVhsv(57, 49%, 99%)
CMYKcmyk(0%, 2.4%, 49%, 0.8%)
CIE-LABlab(95.58, -13.35, 56.89)
CIE-LCHlch(95.58, 58.44, 103.21°)
OKLaboklab(95.72% -0.039 0.1347)
OKLCHoklch(95.72% 0.14 106.2)
XYZxyz(77.7332, 88.9913, 33.8469)
Luminance0.8899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF781 #8187FD
analogous
#FDB981 #FDF781 #C5FD81
triadic
#FDF781 #81FDF7 #F781FD
tetradic
#FDF781 #81FDB9 #8187FD #FD81C5
square
#FDF781 #81FDB9 #8187FD #FD81C5
split-complementary
#FDF781 #81C5FD #B981FD
monochromatic
#FBEF09 #FCF345 #FDF781 #FEFBBD #FFFDE1

Accessibility & contrast

On white

1.12
#FDF781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#FDF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF781
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF781#FFFFFF#000000##000000
##FDF7811.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF76
Deuteranopia (green-blind)
#FFF587
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf781;
/* rgb */ color: rgb(253, 247, 129);
/* oklch */ color: oklch(95.7% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff9a8',
    500: '#fdf781',
    950: '#000000',
  },
}
SCSS
$custom: #fdf781;
$custom-light: #fff9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf781",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 57.097,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95723,
    "c": 0.1402,
    "h": 106.2
  },
  "luminance": 0.88989
}

Semantic roles & 50–950 ramp

primary
#FDF781
secondary
#474EDC
accent
#0BE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF781

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

Preview Lab → · Contrast checker → · Palette generator →

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