#FEFF9F#FEFF9F

#FEFF9F is a very light, moderate yellow. Relative luminance 0.951; OKLCH L 97.8% C 0.118 H 108.9°. Best body text is #000000 at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#FEFF9F
RGBrgb(254, 255, 159)
HSLhsl(61, 100%, 81%)
HSVhsv(61, 38%, 100%)
CMYKcmyk(0.4%, 0%, 37.6%, 0%)
CIE-LABlab(98.07, -13.98, 45.76)
CIE-LCHlch(98.07, 47.85, 106.99°)
OKLaboklab(97.85% -0.0383 0.1117)
OKLCHoklch(97.85% 0.118 108.9)
XYZxyz(82.8921, 95.0956, 46.7828)
Luminance0.9509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF9F #A09FFF
analogous
#FFD09F #FEFF9F #CEFF9F
triadic
#FEFF9F #9FFEFF #FF9FFE
tetradic
#FEFF9F #9FFFD0 #A09FFF #FF9FCE
square
#FEFF9F #9FFFD0 #A09FFF #FF9FCE
split-complementary
#FEFF9F #9FCEFF #D09FFF
monochromatic
#FDFF25 #FDFF62 #FEFF9F #FFFFDC #FFFFE0

Accessibility & contrast

On white

1.05
#FEFF9F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.02
#FEFF9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFF9F
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFF9F#FFFFFF#000000##000000
##FEFF9F1.001.0520.0220.02
#FFFFFF1.051.0021.0021.00
#00000020.0221.001.001.00
##00000020.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF798
Deuteranopia (green-blind)
#FFFBA3
Tritanopia (blue-blind)
#FFF4E7
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #feff9f;
/* rgb */ color: rgb(254, 255, 159);
/* oklch */ color: oklch(97.8% 0.118 108.9);
Tailwind
colors: {
  custom: {
    50: '#ffffbc',
    500: '#feff9f',
    950: '#000000',
  },
}
SCSS
$custom: #feff9f;
$custom-light: #ffffbc;
$custom-dark: #000000;
JSON
{
  "hex": "#feff9f",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 159
  },
  "hsl": {
    "h": 60.625,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.97848,
    "c": 0.11811,
    "h": 108.9
  },
  "luminance": 0.95094
}

Semantic roles & 50–950 ramp

primary
#FEFF9F
secondary
#615FE3
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEFF9F

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

Preview Lab → · Contrast checker → · Palette generator →

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