#FDE87F#FDE87F

#FDE87F is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.7% C 0.128 H 98.3°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#FDE87F
RGBrgb(253, 232, 127)
HSLhsl(50, 97%, 75%)
HSVhsv(50, 50%, 99%)
CMYKcmyk(0%, 8.3%, 49.8%, 0.8%)
CIE-LABlab(91.74, -6.11, 53.23)
CIE-LCHlch(91.74, 53.58, 96.54°)
OKLaboklab(92.67% -0.0184 0.1265)
OKLCHoklch(92.67% 0.128 98.3)
XYZxyz(73.1977, 80.1310, 31.6857)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDE87F #7F94FD
analogous
#FDA97F #FDE87F #D3FD7F
triadic
#FDE87F #7FFDE8 #E87FFD
tetradic
#FDE87F #7FFDA9 #7F94FD #FD7FD3
square
#FDE87F #7FFDA9 #7F94FD #FD7FD3
split-complementary
#FDE87F #7FD3FD #A97FFD
monochromatic
#FBD206 #FCDD43 #FDE87F #FEF3BB #FFFAE1

Accessibility & contrast

On white

1.23
#FDE87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#FDE87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDE87F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDE87F#FFFFFF#000000##000000
##FDE87F1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE376
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fde87f;
/* rgb */ color: rgb(253, 232, 127);
/* oklch */ color: oklch(92.7% 0.128 98.3);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#fde87f',
    950: '#000000',
  },
}
SCSS
$custom: #fde87f;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fde87f",
  "rgb": {
    "r": 253,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 50,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92674,
    "c": 0.12781,
    "h": 98.3
  },
  "luminance": 0.80128
}

Semantic roles & 50–950 ramp

primary
#FDE87F
secondary
#455EDB
accent
#26E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FDE87F

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

Preview Lab → · Contrast checker → · Palette generator →

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