#FFFD87#FFFD87

#FFFD87 is a very light, vivid yellow. Relative luminance 0.933; OKLCH L 97.2% C 0.141 H 107.9°. Best body text is #000000 at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#FFFD87
RGBrgb(255, 253, 135)
HSLhsl(59, 100%, 76%)
HSVhsv(59, 47%, 100%)
CMYKcmyk(0%, 0.8%, 47.1%, 0%)
CIE-LABlab(97.33, -14.97, 56.26)
CIE-LCHlch(97.33, 58.22, 104.90°)
OKLaboklab(97.18% -0.0432 0.1338)
OKLCHoklch(97.18% 0.141 107.9)
XYZxyz(80.7402, 93.2618, 36.6651)
Luminance0.9326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD87 #8789FF
analogous
#FFC187 #FFFD87 #C5FF87
triadic
#FFFD87 #87FFFD #FD87FF
tetradic
#FFFD87 #87FFC1 #8789FF #FF87C5
square
#FFFD87 #87FFC1 #8789FF #FF87C5
split-complementary
#FFFD87 #87C5FF #C187FF
monochromatic
#FFFB0D #FFFC4A #FFFD87 #FFFEC4 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.65
#FFFD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD87
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD87#FFFFFF#000000##000000
##FFFD871.001.0719.6519.65
#FFFFFF1.071.0021.0021.00
#00000019.6521.001.001.00
##00000019.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF57D
Deuteranopia (green-blind)
#FFFA8D
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffd87;
/* rgb */ color: rgb(255, 253, 135);
/* oklch */ color: oklch(97.2% 0.141 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffdac',
    500: '#fffd87',
    950: '#000000',
  },
}
SCSS
$custom: #fffd87;
$custom-light: #fffdac;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd87",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 135
  },
  "hsl": {
    "h": 59,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.97181,
    "c": 0.14054,
    "h": 107.9
  },
  "luminance": 0.9326
}

Semantic roles & 50–950 ramp

primary
#FFFD87
secondary
#4B4DDF
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFD87

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

Preview Lab → · Contrast checker → · Palette generator →

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