#FED987#FED987

#FED987 is a very light, moderate orange. Relative luminance 0.724; OKLCH L 89.9% C 0.109 H 86.0°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#FED987
RGBrgb(254, 217, 135)
HSLhsl(41, 98%, 76%)
HSVhsv(41, 47%, 100%)
CMYKcmyk(0%, 14.6%, 46.9%, 0.4%)
CIE-LABlab(88.18, 2.60, 45.00)
CIE-LCHlch(88.18, 45.07, 86.70°)
OKLaboklab(89.92% 0.0076 0.1087)
OKLCHoklch(89.92% 0.109 86)
XYZxyz(70.0615, 72.4491, 33.2107)
Luminance0.7245 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED987 #87ACFE
analogous
#FE9E87 #FED987 #E7FE87
triadic
#FED987 #87FED9 #D987FE
tetradic
#FED987 #87FE9E #87ACFE #FE87E7
square
#FED987 #87FE9E #87ACFE #FE87E7
split-complementary
#FED987 #87E7FE #9E87FE
monochromatic
#FDB30E #FDC64A #FED987 #FFECC4 #FFF5E1

Accessibility & contrast

On white

1.36
#FED987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#FED987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED987
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED987#FFFFFF#000000##000000
##FED9871.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD780
Deuteranopia (green-blind)
#F4E18A
Tritanopia (blue-blind)
#FFCCC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #fed987;
/* rgb */ color: rgb(254, 217, 135);
/* oklch */ color: oklch(89.9% 0.109 86.0);
Tailwind
colors: {
  custom: {
    50: '#ffe4ab',
    500: '#fed987',
    950: '#000000',
  },
}
SCSS
$custom: #fed987;
$custom-light: #ffe4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fed987",
  "rgb": {
    "r": 254,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 41.345,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.89917,
    "c": 0.109,
    "h": 86
  },
  "luminance": 0.72446
}

Semantic roles & 50–950 ramp

primary
#FED987
secondary
#4B79DE
accent
#47E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #FED987

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

Preview Lab → · Contrast checker → · Palette generator →

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