#FDF28D#FDF28D

#FDF28D is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.9% C 0.123 H 103.0°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FDF28D
RGBrgb(253, 242, 141)
HSLhsl(54, 97%, 77%)
HSVhsv(54, 44%, 99%)
CMYKcmyk(0%, 4.3%, 44.3%, 0.8%)
CIE-LABlab(94.45, -9.81, 49.87)
CIE-LCHlch(94.45, 50.82, 101.13°)
OKLaboklab(94.87% -0.0277 0.12)
OKLCHoklch(94.87% 0.123 103)
XYZxyz(77.0696, 86.3122, 37.7943)
Luminance0.8631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF28D #8D98FD
analogous
#FDBA8D #FDF28D #D0FD8D
triadic
#FDF28D #8DFDF2 #F28DFD
tetradic
#FDF28D #8DFDBA #8D98FD #FD8DD0
square
#FDF28D #8DFDBA #8D98FD #FD8DD0
split-complementary
#FDF28D #8DD0FD #BA8DFD
monochromatic
#FBE415 #FCEB51 #FDF28D #FEF9C9 #FEFCE1

Accessibility & contrast

On white

1.15
#FDF28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#FDF28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF28D
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF28D#FFFFFF#000000##000000
##FDF28D1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC85
Deuteranopia (green-blind)
#FFF291
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf28d;
/* rgb */ color: rgb(253, 242, 141);
/* oklch */ color: oklch(94.9% 0.123 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff6b0',
    500: '#fdf28d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf28d;
$custom-light: #fff6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf28d",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 141
  },
  "hsl": {
    "h": 54.107,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94871,
    "c": 0.12318,
    "h": 103
  },
  "luminance": 0.8631
}

Semantic roles & 50–950 ramp

primary
#FDF28D
secondary
#515FDD
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FDF28D

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

Preview Lab → · Contrast checker → · Palette generator →

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