#FEF487#FEF487

#FEF487 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.3% C 0.131 H 103.9°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#FEF487
RGBrgb(254, 244, 135)
HSLhsl(55, 98%, 76%)
HSVhsv(55, 47%, 100%)
CMYKcmyk(0%, 3.9%, 46.9%, 0.4%)
CIE-LABlab(94.96, -10.96, 53.37)
CIE-LCHlch(94.96, 54.48, 101.61°)
OKLaboklab(95.28% -0.0316 0.1274)
OKLCHoklch(95.28% 0.131 103.9)
XYZxyz(77.5988, 87.5238, 35.7231)
Luminance0.8752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF487 #8791FE
analogous
#FEB987 #FEF487 #CDFE87
triadic
#FEF487 #87FEF4 #F487FE
tetradic
#FEF487 #87FEB9 #8791FE #FE87CD
square
#FEF487 #87FEB9 #8791FE #FE87CD
split-complementary
#FEF487 #87CDFE #B987FE
monochromatic
#FDE90E #FDEE4A #FEF487 #FFFAC4 #FFFCE1

Accessibility & contrast

On white

1.13
#FEF487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#FEF487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF487
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF487#FFFFFF#000000##000000
##FEF4871.001.1318.5018.50
#FFFFFF1.131.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7E
Deuteranopia (green-blind)
#FFF38C
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef487;
/* rgb */ color: rgb(254, 244, 135);
/* oklch */ color: oklch(95.3% 0.131 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff7ac',
    500: '#fef487',
    950: '#000000',
  },
}
SCSS
$custom: #fef487;
$custom-light: #fff7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fef487",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 135
  },
  "hsl": {
    "h": 54.958,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95275,
    "c": 0.13126,
    "h": 103.9
  },
  "luminance": 0.87521
}

Semantic roles & 50–950 ramp

primary
#FEF487
secondary
#4B58DE
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF487

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

Preview Lab → · Contrast checker → · Palette generator →

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