#FEE987#FEE987

#FEE987 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 93.1% C 0.121 H 97.6°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#FEE987
RGBrgb(254, 233, 135)
HSLhsl(49, 98%, 76%)
HSVhsv(49, 47%, 100%)
CMYKcmyk(0%, 8.3%, 46.9%, 0.4%)
CIE-LABlab(92.18, -5.50, 49.96)
CIE-LCHlch(92.18, 50.26, 96.28°)
OKLaboklab(93.07% -0.0159 0.1198)
OKLCHoklch(93.07% 0.121 97.6)
XYZxyz(74.3873, 81.1007, 34.6526)
Luminance0.8110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE987 #879CFE
analogous
#FEAE87 #FEE987 #D8FE87
triadic
#FEE987 #87FEE9 #E987FE
tetradic
#FEE987 #87FEAE #879CFE #FE87D8
square
#FEE987 #87FEAE #879CFE #FE87D8
split-complementary
#FEE987 #87D8FE #AE87FE
monochromatic
#FDD30E #FDDE4A #FEE987 #FFF4C4 #FFF9E1

Accessibility & contrast

On white

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

On black

17.22
#FEE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE987
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE987#FFFFFF#000000##000000
##FEE9871.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fee987;
/* rgb */ color: rgb(254, 233, 135);
/* oklch */ color: oklch(93.1% 0.121 97.6);
Tailwind
colors: {
  custom: {
    50: '#ffefac',
    500: '#fee987',
    950: '#000000',
  },
}
SCSS
$custom: #fee987;
$custom-light: #ffefac;
$custom-dark: #000000;
JSON
{
  "hex": "#fee987",
  "rgb": {
    "r": 254,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 49.412,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93068,
    "c": 0.12089,
    "h": 97.6
  },
  "luminance": 0.81098
}

Semantic roles & 50–950 ramp

primary
#FEE987
secondary
#4B65DE
accent
#28E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FEE987

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

Preview Lab → · Contrast checker → · Palette generator →

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