#FEFEA5#FEFEA5

#FEFEA5 is a very light, moderate yellow. Relative luminance 0.947; OKLCH L 97.7% C 0.110 H 108.3°. Best body text is #000000 at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#FEFEA5
RGBrgb(254, 254, 165)
HSLhsl(60, 98%, 82%)
HSVhsv(60, 35%, 100%)
CMYKcmyk(0%, 0%, 35%, 0.4%)
CIE-LABlab(97.90, -12.84, 42.61)
CIE-LCHlch(97.90, 44.51, 106.77°)
OKLaboklab(97.74% -0.0346 0.1048)
OKLCHoklch(97.74% 0.11 108.3)
XYZxyz(83.1073, 94.6726, 49.4857)
Luminance0.9467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEA5 #A5A5FE
analogous
#FED2A5 #FEFEA5 #D2FEA5
triadic
#FEFEA5 #A5FEFE #FEA5FE
tetradic
#FEFEA5 #A5FED2 #A5A5FE #FEA5D2
square
#FEFEA5 #A5FED2 #A5A5FE #FEA5D2
split-complementary
#FEFEA5 #A5D2FE #D2A5FE
monochromatic
#FDFD2C #FDFD68 #FEFEA5 #FFFFE1 #FFFFE1

Accessibility & contrast

On white

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

On black

19.93
#FEFEA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEA5
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEA5#FFFFFF#000000##000000
##FEFEA51.001.0519.9319.93
#FFFFFF1.051.0021.0021.00
#00000019.9321.001.001.00
##00000019.9321.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: #fefea5;
/* rgb */ color: rgb(254, 254, 165);
/* oklch */ color: oklch(97.7% 0.110 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffec0',
    500: '#fefea5',
    950: '#000000',
  },
}
SCSS
$custom: #fefea5;
$custom-light: #fffec0;
$custom-dark: #000000;
JSON
{
  "hex": "#fefea5",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 165
  },
  "hsl": {
    "h": 60,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.97741,
    "c": 0.11034,
    "h": 108.3
  },
  "luminance": 0.94671
}

Semantic roles & 50–950 ramp

primary
#FEFEA5
secondary
#6565E2
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFEA5

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

Preview Lab → · Contrast checker → · Palette generator →

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