#FFD987#FFD987

#FFD987 is a very light, moderate orange. Relative luminance 0.726; OKLCH L 90.0% C 0.109 H 85.4°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#FFD987
RGBrgb(255, 217, 135)
HSLhsl(41, 100%, 76%)
HSVhsv(41, 47%, 100%)
CMYKcmyk(0%, 14.9%, 47.1%, 0%)
CIE-LABlab(88.27, 2.99, 45.13)
CIE-LCHlch(88.27, 45.23, 86.21°)
OKLaboklab(90.01% 0.0087 0.109)
OKLCHoklch(90.01% 0.109 85.4)
XYZxyz(70.4285, 72.6383, 33.2279)
Luminance0.7264 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD987 #87ADFF
analogous
#FF9D87 #FFD987 #E9FF87
triadic
#FFD987 #87FFD9 #D987FF
tetradic
#FFD987 #87FF9D #87ADFF #FF87E9
square
#FFD987 #87FF9D #87ADFF #FF87E9
split-complementary
#FFD987 #87E9FF #9D87FF
monochromatic
#FFB20D #FFC64A #FFD987 #FFECC4 #FFF5E0

Accessibility & contrast

On white

1.35
#FFD987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#FFD987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD987
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD987#FFFFFF#000000##000000
##FFD9871.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffd987;
/* rgb */ color: rgb(255, 217, 135);
/* oklch */ color: oklch(90.0% 0.109 85.4);
Tailwind
colors: {
  custom: {
    50: '#ffe4ab',
    500: '#ffd987',
    950: '#000000',
  },
}
SCSS
$custom: #ffd987;
$custom-light: #ffe4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd987",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 41,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.9001,
    "c": 0.10937,
    "h": 85.4
  },
  "luminance": 0.72635
}

Semantic roles & 50–950 ramp

primary
#FFD987
secondary
#4B7ADF
accent
#49E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #FFD987

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

Preview Lab → · Contrast checker → · Palette generator →

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