#FDF58F#FDF58F

#FDF58F is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.5% C 0.124 H 104.6°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#FDF58F
RGBrgb(253, 245, 143)
HSLhsl(56, 96%, 78%)
HSVhsv(56, 43%, 99%)
CMYKcmyk(0%, 3.2%, 43.5%, 0.8%)
CIE-LABlab(95.23, -11.10, 49.89)
CIE-LCHlch(95.23, 51.11, 102.54°)
OKLaboklab(95.51% -0.0312 0.1202)
OKLCHoklch(95.51% 0.124 104.6)
XYZxyz(78.1200, 88.1727, 38.8852)
Luminance0.8817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF58F #8F97FD
analogous
#FDBE8F #FDF58F #CEFD8F
triadic
#FDF58F #8FFDF5 #F58FFD
tetradic
#FDF58F #8FFDBE #8F97FD #FD8FCE
square
#FDF58F #8FFDBE #8F97FD #FD8FCE
split-complementary
#FDF58F #8FCEFD #BE8FFD
monochromatic
#FBEA17 #FCF053 #FDF58F #FEFACB #FEFCE1

Accessibility & contrast

On white

1.13
#FDF58F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.63
#FDF58F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF58F
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF58F#FFFFFF#000000##000000
##FDF58F1.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE87
Deuteranopia (green-blind)
#FFF493
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf58f;
/* rgb */ color: rgb(253, 245, 143);
/* oklch */ color: oklch(95.5% 0.124 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff8b1',
    500: '#fdf58f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf58f;
$custom-light: #fff8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf58f",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 143
  },
  "hsl": {
    "h": 55.636,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.95505,
    "c": 0.12419,
    "h": 104.6
  },
  "luminance": 0.88171
}

Semantic roles & 50–950 ramp

primary
#FDF58F
secondary
#535DDE
accent
#11E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF58F

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

Preview Lab → · Contrast checker → · Palette generator →

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