#FEF86E#FEF86E

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

Color values

HEX#FEF86E
RGBrgb(254, 248, 110)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 57%, 100%)
CMYKcmyk(0%, 2.4%, 56.7%, 0.4%)
CIE-LABlab(95.72, -14.92, 65.55)
CIE-LCHlch(95.72, 67.23, 102.82°)
OKLaboklab(95.79% -0.0455 0.1515)
OKLCHoklch(95.79% 0.158 106.7)
XYZxyz(77.2573, 89.3338, 27.9223)
Luminance0.8933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF86E #6E74FE
analogous
#FEB06E #FEF86E #BCFE6E
triadic
#FEF86E #6EFEF8 #F86EFE
tetradic
#FEF86E #6EFEB0 #6E74FE #FE6EBC
square
#FEF86E #6EFEB0 #6E74FE #FE6EBC
split-complementary
#FEF86E #6EBCFE #B06EFE
monochromatic
#F0E602 #FEF531 #FEF86E #FEFBAB #FFFEE1

Accessibility & contrast

On white

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

On black

18.87
#FEF86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF86E
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF86E#FFFFFF#000000##000000
##FEF86E1.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5F
Deuteranopia (green-blind)
#FFF576
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef86e;
/* rgb */ color: rgb(254, 248, 110);
/* oklch */ color: oklch(95.8% 0.158 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffa9c',
    500: '#fef86e',
    950: '#000000',
  },
}
SCSS
$custom: #fef86e;
$custom-light: #fffa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef86e",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 57.5,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95794,
    "c": 0.15813,
    "h": 106.7
  },
  "luminance": 0.89331
}

Semantic roles & 50–950 ramp

primary
#FEF86E
secondary
#363DDA
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF86E

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

Preview Lab → · Contrast checker → · Palette generator →

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