#FEF86D#FEF86D

#FEF86D is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.159 H 106.7°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#FEF86D
RGBrgb(254, 248, 109)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 57%, 100%)
CMYKcmyk(0%, 2.4%, 57.1%, 0.4%)
CIE-LABlab(95.71, -14.99, 65.97)
CIE-LCHlch(95.71, 67.66, 102.80°)
OKLaboklab(95.78% -0.0458 0.1522)
OKLCHoklch(95.78% 0.159 106.7)
XYZxyz(77.2032, 89.3121, 27.6372)
Luminance0.8931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF86D #6D73FE
analogous
#FEAF6D #FEF86D #BBFE6D
triadic
#FEF86D #6DFEF8 #F86DFE
tetradic
#FEF86D #6DFEAF #6D73FE #FE6DBB
square
#FEF86D #6DFEAF #6D73FE #FE6DBB
split-complementary
#FEF86D #6DBBFE #AF6DFE
monochromatic
#EFE502 #FEF530 #FEF86D #FEFBAA #FFFEE1

Accessibility & contrast

On white

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

On black

18.86
#FEF86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF86D
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF86D#FFFFFF#000000##000000
##FEF86D1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5E
Deuteranopia (green-blind)
#FFF575
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef86d;
/* rgb */ color: rgb(254, 248, 109);
/* oklch */ color: oklch(95.8% 0.159 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffa9b',
    500: '#fef86d',
    950: '#000000',
  },
}
SCSS
$custom: #fef86d;
$custom-light: #fffa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef86d",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 57.517,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95784,
    "c": 0.15896,
    "h": 106.7
  },
  "luminance": 0.8931
}

Semantic roles & 50–950 ramp

primary
#FEF86D
secondary
#353CDA
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF86D

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

Preview Lab → · Contrast checker → · Palette generator →

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