#FDF28A#FDF28A

#FDF28A is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.126 H 103.2°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FDF28A
RGBrgb(253, 242, 138)
HSLhsl(54, 97%, 77%)
HSVhsv(54, 45%, 99%)
CMYKcmyk(0%, 4.3%, 45.5%, 0.8%)
CIE-LABlab(94.41, -10.09, 51.25)
CIE-LCHlch(94.41, 52.24, 101.14°)
OKLaboklab(94.83% -0.0288 0.1229)
OKLCHoklch(94.83% 0.126 103.2)
XYZxyz(76.8494, 86.2242, 36.6346)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF28A #8A95FD
analogous
#FDB98A #FDF28A #CFFD8A
triadic
#FDF28A #8AFDF2 #F28AFD
tetradic
#FDF28A #8AFDB9 #8A95FD #FD8ACF
square
#FDF28A #8AFDB9 #8A95FD #FD8ACF
split-complementary
#FDF28A #8ACFFD #B98AFD
monochromatic
#FBE512 #FCEB4E #FDF28A #FEF9C6 #FEFCE1

Accessibility & contrast

On white

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

On black

18.24
#FDF28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF28A
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF28A#FFFFFF#000000##000000
##FDF28A1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC81
Deuteranopia (green-blind)
#FFF28F
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf28a;
/* rgb */ color: rgb(253, 242, 138);
/* oklch */ color: oklch(94.8% 0.126 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff6ae',
    500: '#fdf28a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf28a;
$custom-light: #fff6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf28a",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 54.261,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94829,
    "c": 0.12626,
    "h": 103.2
  },
  "luminance": 0.86222
}

Semantic roles & 50–950 ramp

primary
#FDF28A
secondary
#4E5CDD
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF28A

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

Preview Lab → · Contrast checker → · Palette generator →

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