#FDEF87#FDEF87

#FDEF87 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.2% C 0.126 H 101.7°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FDEF87
RGBrgb(253, 239, 135)
HSLhsl(53, 97%, 76%)
HSVhsv(53, 47%, 99%)
CMYKcmyk(0%, 5.5%, 46.6%, 0.8%)
CIE-LABlab(93.61, -8.88, 51.70)
CIE-LCHlch(93.61, 52.46, 99.75°)
OKLaboklab(94.18% -0.0256 0.1237)
OKLCHoklch(94.18% 0.126 101.7)
XYZxyz(75.7497, 84.3673, 35.2113)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEF87 #8795FD
analogous
#FDB487 #FDEF87 #D0FD87
triadic
#FDEF87 #87FDEF #EF87FD
tetradic
#FDEF87 #87FDB4 #8795FD #FD87D0
square
#FDEF87 #87FDB4 #8795FD #FD87D0
split-complementary
#FDEF87 #87D0FD #B487FD
monochromatic
#FBDF0F #FCE74B #FDEF87 #FEF7C3 #FEFBE1

Accessibility & contrast

On white

1.17
#FDEF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#FDEF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEF87
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEF87#FFFFFF#000000##000000
##FDEF871.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#FFEF8B
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdef87;
/* rgb */ color: rgb(253, 239, 135);
/* oklch */ color: oklch(94.2% 0.126 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff4ac',
    500: '#fdef87',
    950: '#000000',
  },
}
SCSS
$custom: #fdef87;
$custom-light: #fff4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fdef87",
  "rgb": {
    "r": 253,
    "g": 239,
    "b": 135
  },
  "hsl": {
    "h": 52.881,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94184,
    "c": 0.12634,
    "h": 101.7
  },
  "luminance": 0.84365
}

Semantic roles & 50–950 ramp

primary
#FDEF87
secondary
#4C5DDC
accent
#1BE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDEF87

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

Preview Lab → · Contrast checker → · Palette generator →

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