#FEF18D#FEF18D

#FEF18D is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.8% C 0.122 H 101.9°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#FEF18D
RGBrgb(254, 241, 141)
HSLhsl(53, 98%, 77%)
HSVhsv(53, 44%, 100%)
CMYKcmyk(0%, 5.1%, 44.5%, 0.4%)
CIE-LABlab(94.27, -8.93, 49.67)
CIE-LCHlch(94.27, 50.47, 100.19°)
OKLaboklab(94.75% -0.0252 0.1196)
OKLCHoklch(94.75% 0.122 101.9)
XYZxyz(77.1379, 85.9069, 37.7125)
Luminance0.8590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF18D #8D9AFE
analogous
#FEB88D #FEF18D #D3FE8D
triadic
#FEF18D #8DFEF1 #F18DFE
tetradic
#FEF18D #8DFEB8 #8D9AFE #FE8DD3
square
#FEF18D #8DFEB8 #8D9AFE #FE8DD3
split-complementary
#FEF18D #8DD3FE #B88DFE
monochromatic
#FDE214 #FDEA50 #FEF18D #FFF8CA #FFFBE1

Accessibility & contrast

On white

1.16
#FEF18D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#FEF18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF18D
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF18D#FFFFFF#000000##000000
##FEF18D1.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB85
Deuteranopia (green-blind)
#FFF191
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef18d;
/* rgb */ color: rgb(254, 241, 141);
/* oklch */ color: oklch(94.8% 0.122 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff5b0',
    500: '#fef18d',
    950: '#000000',
  },
}
SCSS
$custom: #fef18d;
$custom-light: #fff5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef18d",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 141
  },
  "hsl": {
    "h": 53.097,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94753,
    "c": 0.12221,
    "h": 101.9
  },
  "luminance": 0.85905
}

Semantic roles & 50–950 ramp

primary
#FEF18D
secondary
#5061DF
accent
#1AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FEF18D

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

Preview Lab → · Contrast checker → · Palette generator →

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