#FEFF5C#FEFF5C

#FEFF5C is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.1% C 0.179 H 109.7°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FEFF5C
RGBrgb(254, 255, 92)
HSLhsl(60, 100%, 68%)
HSVhsv(60, 64%, 100%)
CMYKcmyk(0.4%, 0%, 63.9%, 0%)
CIE-LABlab(97.38, -19.44, 74.65)
CIE-LCHlch(97.38, 77.14, 104.59°)
OKLaboklab(97.07% -0.0601 0.1683)
OKLCHoklch(97.07% 0.179 109.7)
XYZxyz(78.5673, 93.3657, 24.0058)
Luminance0.9336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF5C #5D5CFF
analogous
#FFAE5C #FEFF5C #ACFF5C
triadic
#FEFF5C #5CFEFF #FF5CFE
tetradic
#FEFF5C #5CFFAE #5D5CFF #FF5CAC
square
#FEFF5C #5CFFAE #5D5CFF #FF5CAC
split-complementary
#FEFF5C #5CACFF #AE5CFF
monochromatic
#DFE100 #FEFF1F #FEFF5C #FEFF99 #FFFFD6

Accessibility & contrast

On white

1.07
#FEFF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.67
#FEFF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFF5C
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFF5C#FFFFFF#000000##000000
##FEFF5C1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF546
Deuteranopia (green-blind)
#FFFA67
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #feff5c;
/* rgb */ color: rgb(254, 255, 92);
/* oklch */ color: oklch(97.1% 0.179 109.7);
Tailwind
colors: {
  custom: {
    50: '#ffff92',
    500: '#feff5c',
    950: '#000000',
  },
}
SCSS
$custom: #feff5c;
$custom-light: #ffff92;
$custom-dark: #000000;
JSON
{
  "hex": "#feff5c",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 92
  },
  "hsl": {
    "h": 60.368,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.97068,
    "c": 0.17874,
    "h": 109.7
  },
  "luminance": 0.93364
}

Semantic roles & 50–950 ramp

primary
#FEFF5C
secondary
#2826D9
accent
#00E601
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170D
muted
#87857F

Preview Lab

Preview with #FEFF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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