#FDF282#FDF282

#FDF282 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.7% C 0.134 H 103.6°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#FDF282
RGBrgb(253, 242, 130)
HSLhsl(55, 97%, 75%)
HSVhsv(55, 49%, 99%)
CMYKcmyk(0%, 4.3%, 48.6%, 0.8%)
CIE-LABlab(94.31, -10.81, 54.91)
CIE-LCHlch(94.31, 55.97, 101.14°)
OKLaboklab(94.72% -0.0316 0.1304)
OKLCHoklch(94.72% 0.134 103.6)
XYZxyz(76.2914, 86.0010, 33.6959)
Luminance0.8600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF282 #828DFD
analogous
#FDB482 #FDF282 #CBFD82
triadic
#FDF282 #82FDF2 #F282FD
tetradic
#FDF282 #82FDB4 #828DFD #FD82CB
square
#FDF282 #82FDB4 #828DFD #FD82CB
split-complementary
#FDF282 #82CBFD #B482FD
monochromatic
#FBE50A #FCEC46 #FDF282 #FEF8BE #FFFCE1

Accessibility & contrast

On white

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

On black

18.20
#FDF282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF282
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF282#FFFFFF#000000##000000
##FDF2821.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf282;
/* rgb */ color: rgb(253, 242, 130);
/* oklch */ color: oklch(94.7% 0.134 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff6a9',
    500: '#fdf282',
    950: '#000000',
  },
}
SCSS
$custom: #fdf282;
$custom-light: #fff6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf282",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 54.634,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94723,
    "c": 0.1342,
    "h": 103.6
  },
  "luminance": 0.85999
}

Semantic roles & 50–950 ramp

primary
#FDF282
secondary
#4755DC
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF282

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

Preview Lab → · Contrast checker → · Palette generator →

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