#FDF786#FDF786

#FDF786 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.8% C 0.135 H 106.0°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#FDF786
RGBrgb(253, 247, 134)
HSLhsl(57, 97%, 76%)
HSVhsv(57, 47%, 99%)
CMYKcmyk(0%, 2.4%, 47%, 0.8%)
CIE-LABlab(95.63, -12.91, 54.64)
CIE-LCHlch(95.63, 56.14, 103.30°)
OKLaboklab(95.79% -0.0373 0.1301)
OKLCHoklch(95.79% 0.135 106)
XYZxyz(78.0737, 89.1275, 35.6403)
Luminance0.8912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF786 #868CFD
analogous
#FDBB86 #FDF786 #C7FD86
triadic
#FDF786 #86FDF7 #F786FD
tetradic
#FDF786 #86FDBB #868CFD #FD86C7
square
#FDF786 #86FDBB #868CFD #FD86C7
split-complementary
#FDF786 #86C7FD #BB86FD
monochromatic
#FBEF0E #FCF34A #FDF786 #FEFBC2 #FFFDE1

Accessibility & contrast

On white

1.12
#FDF786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#FDF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF786
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF786#FFFFFF#000000##000000
##FDF7861.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07C
Deuteranopia (green-blind)
#FFF58B
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf786;
/* rgb */ color: rgb(253, 247, 134);
/* oklch */ color: oklch(95.8% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff9ab',
    500: '#fdf786',
    950: '#000000',
  },
}
SCSS
$custom: #fdf786;
$custom-light: #fff9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf786",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 56.975,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95787,
    "c": 0.13536,
    "h": 106
  },
  "luminance": 0.89125
}

Semantic roles & 50–950 ramp

primary
#FDF786
secondary
#4B52DC
accent
#0CE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF786

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

Preview Lab → · Contrast checker → · Palette generator →

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