#FFFEA5#FFFEA5

#FFFEA5 is a very light, moderate yellow. Relative luminance 0.949; OKLCH L 97.8% C 0.110 H 107.7°. Best body text is #000000 at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#FFFEA5
RGBrgb(255, 254, 165)
HSLhsl(59, 100%, 82%)
HSVhsv(59, 35%, 100%)
CMYKcmyk(0%, 0.4%, 35.3%, 0%)
CIE-LABlab(97.98, -12.46, 42.73)
CIE-LCHlch(97.98, 44.51, 106.26°)
OKLaboklab(97.82% -0.0336 0.105)
OKLCHoklch(97.82% 0.11 107.7)
XYZxyz(83.4743, 94.8618, 49.5029)
Luminance0.9486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEA5 #A5A6FF
analogous
#FFD1A5 #FFFEA5 #D3FFA5
triadic
#FFFEA5 #A5FFFE #FEA5FF
tetradic
#FFFEA5 #A5FFD1 #A5A6FF #FFA5D3
square
#FFFEA5 #A5FFD1 #A5A6FF #FFA5D3
split-complementary
#FFFEA5 #A5D3FF #D1A5FF
monochromatic
#FFFD2B #FFFD68 #FFFEA5 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

19.97
#FFFEA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEA5
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEA5#FFFFFF#000000##000000
##FFFEA51.001.0519.9719.97
#FFFFFF1.051.0021.0021.00
#00000019.9721.001.001.00
##00000019.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF79E
Deuteranopia (green-blind)
#FFFBA9
Tritanopia (blue-blind)
#FFF3E8
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffea5;
/* rgb */ color: rgb(255, 254, 165);
/* oklch */ color: oklch(97.8% 0.110 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffec0',
    500: '#fffea5',
    950: '#000000',
  },
}
SCSS
$custom: #fffea5;
$custom-light: #fffec0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffea5",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 165
  },
  "hsl": {
    "h": 59.333,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.9782,
    "c": 0.11026,
    "h": 107.7
  },
  "luminance": 0.9486
}

Semantic roles & 50–950 ramp

primary
#FFFEA5
secondary
#6466E4
accent
#03E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFEA5

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

Preview Lab → · Contrast checker → · Palette generator →

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