#FDE787#FDE787

#FDE787 is a very light, moderate yellow. Relative luminance 0.798; OKLCH L 92.6% C 0.119 H 96.8°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#FDE787
RGBrgb(253, 231, 135)
HSLhsl(49, 97%, 76%)
HSVhsv(49, 47%, 99%)
CMYKcmyk(0%, 8.7%, 46.6%, 0.8%)
CIE-LABlab(91.59, -4.89, 49.22)
CIE-LCHlch(91.59, 49.46, 95.68°)
OKLaboklab(92.58% -0.0141 0.1182)
OKLCHoklch(92.58% 0.119 96.8)
XYZxyz(73.4592, 79.7865, 34.4478)
Luminance0.7978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDE787 #879DFD
analogous
#FDAC87 #FDE787 #D8FD87
triadic
#FDE787 #87FDE7 #E787FD
tetradic
#FDE787 #87FDAC #879DFD #FD87D8
square
#FDE787 #87FDAC #879DFD #FD87D8
split-complementary
#FDE787 #87D8FD #AC87FD
monochromatic
#FBCF0F #FCDB4B #FDE787 #FEF3C3 #FEF9E1

Accessibility & contrast

On white

1.24
#FDE787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#FDE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDE787
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDE787#FFFFFF#000000##000000
##FDE7871.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E37F
Deuteranopia (green-blind)
#FEEA8B
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fde787;
/* rgb */ color: rgb(253, 231, 135);
/* oklch */ color: oklch(92.6% 0.119 96.8);
Tailwind
colors: {
  custom: {
    50: '#ffeeab',
    500: '#fde787',
    950: '#000000',
  },
}
SCSS
$custom: #fde787;
$custom-light: #ffeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#fde787",
  "rgb": {
    "r": 253,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 48.814,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92583,
    "c": 0.11902,
    "h": 96.8
  },
  "luminance": 0.79784
}

Semantic roles & 50–950 ramp

primary
#FDE787
secondary
#4C67DC
accent
#2BE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FDE787

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

Preview Lab → · Contrast checker → · Palette generator →

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