#FEFFB4#FEFFB4

#FEFFB4 is a very light, moderate yellow. Relative luminance 0.959; OKLCH L 98.2% C 0.094 H 108.7°. Best body text is #000000 at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#FEFFB4
RGBrgb(254, 255, 180)
HSLhsl(61, 100%, 85%)
HSVhsv(61, 29%, 100%)
CMYKcmyk(0.4%, 0%, 29.4%, 0%)
CIE-LABlab(98.39, -11.57, 35.83)
CIE-LCHlch(98.39, 37.66, 107.89°)
OKLaboklab(98.2% -0.0302 0.0894)
OKLCHoklch(98.2% 0.094 108.7)
XYZxyz(84.8716, 95.8874, 57.2083)
Luminance0.9589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFB4 #B5B4FF
analogous
#FFDAB4 #FEFFB4 #D8FFB4
triadic
#FEFFB4 #B4FEFF #FFB4FE
tetradic
#FEFFB4 #B4FFDA #B5B4FF #FFB4D8
square
#FEFFB4 #B4FFDA #B5B4FF #FFB4D8
split-complementary
#FEFFB4 #B4D8FF #DAB4FF
monochromatic
#FCFF3A #FDFF77 #FEFFB4 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.04
#FEFFB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.18
#FEFFB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFB4
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFB4#FFFFFF#000000##000000
##FEFFB41.001.0420.1820.18
#FFFFFF1.041.0021.0021.00
#00000020.1821.001.001.00
##00000020.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9AF
Deuteranopia (green-blind)
#FFFCB7
Tritanopia (blue-blind)
#FFF6EB
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #feffb4;
/* rgb */ color: rgb(254, 255, 180);
/* oklch */ color: oklch(98.2% 0.094 108.7);
Tailwind
colors: {
  custom: {
    50: '#ffffcb',
    500: '#feffb4',
    950: '#000000',
  },
}
SCSS
$custom: #feffb4;
$custom-light: #ffffcb;
$custom-dark: #000000;
JSON
{
  "hex": "#feffb4",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 180
  },
  "hsl": {
    "h": 60.8,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.98202,
    "c": 0.09438,
    "h": 108.7
  },
  "luminance": 0.95886
}

Semantic roles & 50–950 ramp

primary
#FEFFB4
secondary
#7371E6
accent
#00E603
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181813
muted
#868683

Preview Lab

Preview with #FEFFB4

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

Preview Lab → · Contrast checker → · Palette generator →

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