#FDF280#FDF280

#FDF280 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.7% C 0.136 H 103.7°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#FDF280
RGBrgb(253, 242, 128)
HSLhsl(55, 97%, 75%)
HSVhsv(55, 49%, 99%)
CMYKcmyk(0%, 4.3%, 49.4%, 0.8%)
CIE-LABlab(94.29, -10.98, 55.82)
CIE-LCHlch(94.29, 56.89, 101.13°)
OKLaboklab(94.7% -0.0323 0.1322)
OKLCHoklch(94.7% 0.136 103.7)
XYZxyz(76.1585, 85.9478, 32.9957)
Luminance0.8595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF280 #808BFD
analogous
#FDB480 #FDF280 #CAFD80
triadic
#FDF280 #80FDF2 #F280FD
tetradic
#FDF280 #80FDB4 #808BFD #FD80CA
square
#FDF280 #80FDB4 #808BFD #FD80CA
split-complementary
#FDF280 #80CAFD #B480FD
monochromatic
#FBE607 #FCEC44 #FDF280 #FEF8BC #FFFCE1

Accessibility & contrast

On white

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

On black

18.19
#FDF280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF280
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF280#FFFFFF#000000##000000
##FDF2801.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB76
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf280;
/* rgb */ color: rgb(253, 242, 128);
/* oklch */ color: oklch(94.7% 0.136 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff6a7',
    500: '#fdf280',
    950: '#000000',
  },
}
SCSS
$custom: #fdf280;
$custom-light: #fff6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf280",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 54.72,
    "s": 96.899,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94697,
    "c": 0.13613,
    "h": 103.7
  },
  "luminance": 0.85945
}

Semantic roles & 50–950 ramp

primary
#FDF280
secondary
#4653DB
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF280

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

Preview Lab → · Contrast checker → · Palette generator →

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