#FEF886#FEF886

#FEF886 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.1% C 0.136 H 106.0°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FEF886
RGBrgb(254, 248, 134)
HSLhsl(57, 98%, 76%)
HSVhsv(57, 47%, 100%)
CMYKcmyk(0%, 2.4%, 47.2%, 0.4%)
CIE-LABlab(95.97, -13.01, 55.06)
CIE-LCHlch(95.97, 56.58, 103.30°)
OKLaboklab(96.07% -0.0376 0.131)
OKLCHoklch(96.07% 0.136 106)
XYZxyz(78.7454, 89.9290, 35.7596)
Luminance0.8993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF886 #868CFE
analogous
#FEBC86 #FEF886 #C8FE86
triadic
#FEF886 #86FEF8 #F886FE
tetradic
#FEF886 #86FEBC #868CFE #FE86C8
square
#FEF886 #86FEBC #868CFE #FE86C8
split-complementary
#FEF886 #86C8FE #BC86FE
monochromatic
#FDF10D #FDF449 #FEF886 #FFFCC3 #FFFDE1

Accessibility & contrast

On white

1.11
#FEF886 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.99
#FEF886 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF886
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF886#FFFFFF#000000##000000
##FEF8861.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07C
Deuteranopia (green-blind)
#FFF68B
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef886;
/* rgb */ color: rgb(254, 248, 134);
/* oklch */ color: oklch(96.1% 0.136 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffaab',
    500: '#fef886',
    950: '#000000',
  },
}
SCSS
$custom: #fef886;
$custom-light: #fffaab;
$custom-dark: #000000;
JSON
{
  "hex": "#fef886",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 134
  },
  "hsl": {
    "h": 57,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.96071,
    "c": 0.13633,
    "h": 106
  },
  "luminance": 0.89927
}

Semantic roles & 50–950 ramp

primary
#FEF886
secondary
#4A52DE
accent
#0BE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF886

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

Preview Lab → · Contrast checker → · Palette generator →

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