#FDF286#FDF286

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

Color values

HEX#FDF286
RGBrgb(253, 242, 134)
HSLhsl(54, 97%, 76%)
HSVhsv(54, 47%, 99%)
CMYKcmyk(0%, 4.3%, 47%, 0.8%)
CIE-LABlab(94.36, -10.46, 53.09)
CIE-LCHlch(94.36, 54.11, 101.14°)
OKLaboklab(94.78% -0.0302 0.1267)
OKLCHoklch(94.78% 0.13 103.4)
XYZxyz(76.5651, 86.1105, 35.1374)
Luminance0.8611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF286 #8691FD
analogous
#FDB686 #FDF286 #CCFD86
triadic
#FDF286 #86FDF2 #F286FD
tetradic
#FDF286 #86FDB6 #8691FD #FD86CC
square
#FDF286 #86FDB6 #8691FD #FD86CC
split-complementary
#FDF286 #86CCFD #B686FD
monochromatic
#FBE50E #FCEC4A #FDF286 #FEF8C2 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF286#FFFFFF#000000##000000
##FDF2861.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)
#FFEB7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf286;
/* rgb */ color: rgb(253, 242, 134);
/* oklch */ color: oklch(94.8% 0.130 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fdf286',
    950: '#000000',
  },
}
SCSS
$custom: #fdf286;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf286",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 54.454,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.94775,
    "c": 0.13027,
    "h": 103.4
  },
  "luminance": 0.86108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF286

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

Preview Lab → · Contrast checker → · Palette generator →

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