#FDF285#FDF285

#FDF285 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.8% C 0.131 H 103.5°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#FDF285
RGBrgb(253, 242, 133)
HSLhsl(55, 97%, 76%)
HSVhsv(55, 47%, 99%)
CMYKcmyk(0%, 4.3%, 47.4%, 0.8%)
CIE-LABlab(94.35, -10.55, 53.55)
CIE-LCHlch(94.35, 54.58, 101.14°)
OKLaboklab(94.76% -0.0306 0.1277)
OKLCHoklch(94.76% 0.131 103.5)
XYZxyz(76.4957, 86.0827, 34.7718)
Luminance0.8608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF285 #8590FD
analogous
#FDB685 #FDF285 #CCFD85
triadic
#FDF285 #85FDF2 #F285FD
tetradic
#FDF285 #85FDB6 #8590FD #FD85CC
square
#FDF285 #85FDB6 #8590FD #FD85CC
split-complementary
#FDF285 #85CCFD #B685FD
monochromatic
#FBE50D #FCEC49 #FDF285 #FEF8C1 #FFFCE1

Accessibility & contrast

On white

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

On black

18.22
#FDF285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF285
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF285#FFFFFF#000000##000000
##FDF2851.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf285;
/* rgb */ color: rgb(253, 242, 133);
/* oklch */ color: oklch(94.8% 0.131 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fdf285',
    950: '#000000',
  },
}
SCSS
$custom: #fdf285;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf285",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 133
  },
  "hsl": {
    "h": 54.5,
    "s": 96.774,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94762,
    "c": 0.13126,
    "h": 103.5
  },
  "luminance": 0.8608
}

Semantic roles & 50–950 ramp

primary
#FDF285
secondary
#4A57DC
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF285

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

Preview Lab → · Contrast checker → · Palette generator →

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