#FFE987#FFE987

#FFE987 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 93.2% C 0.121 H 97.0°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#FFE987
RGBrgb(255, 233, 135)
HSLhsl(49, 100%, 76%)
HSVhsv(49, 47%, 100%)
CMYKcmyk(0%, 8.6%, 47.1%, 0%)
CIE-LABlab(92.26, -5.11, 50.08)
CIE-LCHlch(92.26, 50.34, 95.82°)
OKLaboklab(93.16% -0.0148 0.1201)
OKLCHoklch(93.16% 0.121 97)
XYZxyz(74.7543, 81.2899, 34.6698)
Luminance0.8129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE987 #879DFF
analogous
#FFAD87 #FFE987 #D9FF87
triadic
#FFE987 #87FFE9 #E987FF
tetradic
#FFE987 #87FFAD #879DFF #FF87D9
square
#FFE987 #87FFAD #879DFF #FF87D9
split-complementary
#FFE987 #87D9FF #AD87FF
monochromatic
#FFD30D #FFDE4A #FFE987 #FFF4C4 #FFF9E0

Accessibility & contrast

On white

1.22
#FFE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#FFE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE987
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE987#FFFFFF#000000##000000
##FFE9871.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE47F
Deuteranopia (green-blind)
#FFEC8B
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe987;
/* rgb */ color: rgb(255, 233, 135);
/* oklch */ color: oklch(93.2% 0.121 97.0);
Tailwind
colors: {
  custom: {
    50: '#ffefac',
    500: '#ffe987',
    950: '#000000',
  },
}
SCSS
$custom: #ffe987;
$custom-light: #ffefac;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe987",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 49,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93155,
    "c": 0.12101,
    "h": 97
  },
  "luminance": 0.81287
}

Semantic roles & 50–950 ramp

primary
#FFE987
secondary
#4B66DF
accent
#2AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFE987

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

Preview Lab → · Contrast checker → · Palette generator →

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