#FEFB87#FEFB87

#FEFB87 is a very light, vivid yellow. Relative luminance 0.918; OKLCH L 96.7% C 0.139 H 107.4°. Best body text is #000000 at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#FEFB87
RGBrgb(254, 251, 135)
HSLhsl(58, 98%, 76%)
HSVhsv(58, 47%, 100%)
CMYKcmyk(0%, 1.2%, 46.9%, 0.4%)
CIE-LABlab(96.75, -14.39, 55.53)
CIE-LCHlch(96.75, 57.37, 104.52°)
OKLaboklab(96.69% -0.0414 0.1322)
OKLCHoklch(96.69% 0.139 107.4)
XYZxyz(79.7452, 91.8165, 36.4385)
Luminance0.9181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB87 #878AFE
analogous
#FEC087 #FEFB87 #C6FE87
triadic
#FEFB87 #87FEFB #FB87FE
tetradic
#FEFB87 #87FEC0 #878AFE #FE87C6
square
#FEFB87 #87FEC0 #878AFE #FE87C6
split-complementary
#FEFB87 #87C6FE #C087FE
monochromatic
#FDF70E #FDF94A #FEFB87 #FFFDC4 #FFFEE1

Accessibility & contrast

On white

1.08
#FEFB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.36
#FEFB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB87
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB87#FFFFFF#000000##000000
##FEFB871.001.0819.3619.36
#FFFFFF1.081.0021.0021.00
#00000019.3621.001.001.00
##00000019.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF37D
Deuteranopia (green-blind)
#FFF88D
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefb87;
/* rgb */ color: rgb(254, 251, 135);
/* oklch */ color: oklch(96.7% 0.139 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffcac',
    500: '#fefb87',
    950: '#000000',
  },
}
SCSS
$custom: #fefb87;
$custom-light: #fffcac;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb87",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 135
  },
  "hsl": {
    "h": 58.487,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96694,
    "c": 0.1385,
    "h": 107.4
  },
  "luminance": 0.91814
}

Semantic roles & 50–950 ramp

primary
#FEFB87
secondary
#4B4FDE
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFB87

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

Preview Lab → · Contrast checker → · Palette generator →

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