#FEFF5A#FEFF5A

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

Color values

HEX#FEFF5A
RGBrgb(254, 255, 90)
HSLhsl(60, 100%, 68%)
HSVhsv(60, 65%, 100%)
CMYKcmyk(0.4%, 0%, 64.7%, 0%)
CIE-LABlab(97.36, -19.55, 75.40)
CIE-LCHlch(97.36, 77.89, 104.54°)
OKLaboklab(97.05% -0.0606 0.1696)
OKLCHoklch(97.05% 0.18 109.7)
XYZxyz(78.4811, 93.3312, 23.5515)
Luminance0.9333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF5A #5B5AFF
analogous
#FFAE5A #FEFF5A #ABFF5A
triadic
#FEFF5A #5AFEFF #FF5AFE
tetradic
#FEFF5A #5AFFAE #5B5AFF #FF5AAB
square
#FEFF5A #5AFFAE #5B5AFF #FF5AAB
split-complementary
#FEFF5A #5AABFF #AE5AFF
monochromatic
#DDDF00 #FEFF1D #FEFF5A #FEFF97 #FFFFD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEFF5A#FFFFFF#000000##000000
##FEFF5A1.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)
#FFF543
Deuteranopia (green-blind)
#FFFA65
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #feff5a;
/* rgb */ color: rgb(254, 255, 90);
/* oklch */ color: oklch(97.1% 0.180 109.7);
Tailwind
colors: {
  custom: {
    50: '#ffff91',
    500: '#feff5a',
    950: '#000000',
  },
}
SCSS
$custom: #feff5a;
$custom-light: #ffff91;
$custom-dark: #000000;
JSON
{
  "hex": "#feff5a",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 90
  },
  "hsl": {
    "h": 60.364,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.97053,
    "c": 0.18011,
    "h": 109.7
  },
  "luminance": 0.93329
}

Semantic roles & 50–950 ramp

primary
#FEFF5A
secondary
#2726D7
accent
#00E601
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FEFF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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