#FDF07D#FDF07D

#FDF07D is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.3% C 0.137 H 102.9°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#FDF07D
RGBrgb(253, 240, 125)
HSLhsl(54, 97%, 74%)
HSVhsv(54, 51%, 99%)
CMYKcmyk(0%, 5.1%, 50.6%, 0.8%)
CIE-LABlab(93.75, -10.25, 56.56)
CIE-LCHlch(93.75, 57.48, 100.27°)
OKLaboklab(94.26% -0.0305 0.1336)
OKLCHoklch(94.26% 0.137 102.9)
XYZxyz(75.3719, 84.6860, 31.7738)
Luminance0.8468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF07D #7D8AFD
analogous
#FDB07D #FDF07D #CAFD7D
triadic
#FDF07D #7DFDF0 #F07DFD
tetradic
#FDF07D #7DFDB0 #7D8AFD #FD7DCA
square
#FDF07D #7DFDB0 #7D8AFD #FD7DCA
split-complementary
#FDF07D #7DCAFD #B07DFD
monochromatic
#FBE204 #FCE941 #FDF07D #FEF7B9 #FFFCE1

Accessibility & contrast

On white

1.17
#FDF07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#FDF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF07D
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF07D#FFFFFF#000000##000000
##FDF07D1.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE973
Deuteranopia (green-blind)
#FFF082
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf07d;
/* rgb */ color: rgb(253, 240, 125);
/* oklch */ color: oklch(94.3% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff4a5',
    500: '#fdf07d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf07d;
$custom-light: #fff4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf07d",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 53.906,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94256,
    "c": 0.13705,
    "h": 102.9
  },
  "luminance": 0.84683
}

Semantic roles & 50–950 ramp

primary
#FDF07D
secondary
#4353DB
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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