#FFFEA1#FFFEA1

#FFFEA1 is a very light, moderate yellow. Relative luminance 0.947; OKLCH L 97.8% C 0.115 H 107.8°. Best body text is #000000 at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#FFFEA1
RGBrgb(255, 254, 161)
HSLhsl(59, 100%, 82%)
HSVhsv(59, 37%, 100%)
CMYKcmyk(0%, 0.4%, 36.9%, 0%)
CIE-LABlab(97.92, -12.90, 44.61)
CIE-LCHlch(97.92, 46.44, 106.13°)
OKLaboklab(97.76% -0.0351 0.1092)
OKLCHoklch(97.76% 0.115 107.8)
XYZxyz(83.1159, 94.7185, 47.6154)
Luminance0.9472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEA1 #A1A2FF
analogous
#FFCFA1 #FFFEA1 #D1FFA1
triadic
#FFFEA1 #A1FFFE #FEA1FF
tetradic
#FFFEA1 #A1FFCF #A1A2FF #FFA1D1
square
#FFFEA1 #A1FFCF #A1A2FF #FFA1D1
split-complementary
#FFFEA1 #A1D1FF #CFA1FF
monochromatic
#FFFD27 #FFFD64 #FFFEA1 #FFFFDE #FFFFE0

Accessibility & contrast

On white

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

On black

19.94
#FFFEA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEA1
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEA1#FFFFFF#000000##000000
##FFFEA11.001.0519.9419.94
#FFFFFF1.051.0021.0021.00
#00000019.9421.001.001.00
##00000019.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF79A
Deuteranopia (green-blind)
#FFFBA5
Tritanopia (blue-blind)
#FFF3E7
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffea1;
/* rgb */ color: rgb(255, 254, 161);
/* oklch */ color: oklch(97.8% 0.115 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffebe',
    500: '#fffea1',
    950: '#000000',
  },
}
SCSS
$custom: #fffea1;
$custom-light: #fffebe;
$custom-dark: #000000;
JSON
{
  "hex": "#fffea1",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 161
  },
  "hsl": {
    "h": 59.362,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.97755,
    "c": 0.11468,
    "h": 107.8
  },
  "luminance": 0.94717
}

Semantic roles & 50–950 ramp

primary
#FFFEA1
secondary
#6162E3
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFEA1

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

Preview Lab → · Contrast checker → · Palette generator →

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