#FEFFA4#FEFFA4

#FEFFA4 is a very light, moderate yellow. Relative luminance 0.953; OKLCH L 97.9% C 0.113 H 108.9°. Best body text is #000000 at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#FEFFA4
RGBrgb(254, 255, 164)
HSLhsl(61, 100%, 82%)
HSVhsv(61, 36%, 100%)
CMYKcmyk(0.4%, 0%, 35.7%, 0%)
CIE-LABlab(98.14, -13.44, 43.41)
CIE-LCHlch(98.14, 45.45, 107.20°)
OKLaboklab(97.93% -0.0364 0.1066)
OKLCHoklch(97.93% 0.113 108.9)
XYZxyz(83.3348, 95.2727, 49.1143)
Luminance0.9527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFA4 #A5A4FF
analogous
#FFD2A4 #FEFFA4 #D1FFA4
triadic
#FEFFA4 #A4FEFF #FFA4FE
tetradic
#FEFFA4 #A4FFD2 #A5A4FF #FFA4D1
square
#FEFFA4 #A4FFD2 #A5A4FF #FFA4D1
split-complementary
#FEFFA4 #A4D1FF #D2A4FF
monochromatic
#FDFF2A #FDFF67 #FEFFA4 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.05
#FEFFA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFA4
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFA4#FFFFFF#000000##000000
##FEFFA41.001.0520.0520.05
#FFFFFF1.051.0021.0021.00
#00000020.0521.001.001.00
##00000020.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF89D
Deuteranopia (green-blind)
#FFFBA8
Tritanopia (blue-blind)
#FFF4E8
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #feffa4;
/* rgb */ color: rgb(254, 255, 164);
/* oklch */ color: oklch(97.9% 0.113 108.9);
Tailwind
colors: {
  custom: {
    50: '#ffffc0',
    500: '#feffa4',
    950: '#000000',
  },
}
SCSS
$custom: #feffa4;
$custom-light: #ffffc0;
$custom-dark: #000000;
JSON
{
  "hex": "#feffa4",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 164
  },
  "hsl": {
    "h": 60.659,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.97927,
    "c": 0.11261,
    "h": 108.9
  },
  "luminance": 0.95271
}

Semantic roles & 50–950 ramp

primary
#FEFFA4
secondary
#6564E4
accent
#00E603
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFFA4

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

Preview Lab → · Contrast checker → · Palette generator →

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