#FEFEB5#FEFEB5

#FEFEB5 is a very light, moderate yellow. Relative luminance 0.953; OKLCH L 98.0% C 0.092 H 108.0°. Best body text is #000000 at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#FEFEB5
RGBrgb(254, 254, 181)
HSLhsl(60, 97%, 85%)
HSVhsv(60, 29%, 100%)
CMYKcmyk(0%, 0%, 28.7%, 0.4%)
CIE-LABlab(98.15, -10.96, 35.02)
CIE-LCHlch(98.15, 36.69, 107.37°)
OKLaboklab(98.02% -0.0284 0.0875)
OKLCHoklch(98.02% 0.092 108)
XYZxyz(84.6557, 95.2920, 57.6407)
Luminance0.9529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEB5 #B5B5FE
analogous
#FED9B5 #FEFEB5 #D9FEB5
triadic
#FEFEB5 #B5FEFE #FEB5FE
tetradic
#FEFEB5 #B5FED9 #B5B5FE #FEB5D9
square
#FEFEB5 #B5FED9 #B5B5FE #FEB5D9
split-complementary
#FEFEB5 #B5D9FE #D9B5FE
monochromatic
#FCFC3C #FDFD79 #FEFEB5 #FFFFE1 #FFFFE1

Accessibility & contrast

On white

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

On black

20.06
#FEFEB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEB5
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEB5#FFFFFF#000000##000000
##FEFEB51.001.0520.0620.06
#FFFFFF1.051.0021.0021.00
#00000020.0621.001.001.00
##00000020.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B0
Deuteranopia (green-blind)
#FFFBB8
Tritanopia (blue-blind)
#FFF5EB
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fefeb5;
/* rgb */ color: rgb(254, 254, 181);
/* oklch */ color: oklch(98.0% 0.092 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffecb',
    500: '#fefeb5',
    950: '#000000',
  },
}
SCSS
$custom: #fefeb5;
$custom-light: #fffecb;
$custom-dark: #000000;
JSON
{
  "hex": "#fefeb5",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 181
  },
  "hsl": {
    "h": 60,
    "s": 97.333,
    "l": 85.294
  },
  "oklch": {
    "l": 0.98019,
    "c": 0.09202,
    "h": 108
  },
  "luminance": 0.95291
}

Semantic roles & 50–950 ramp

primary
#FEFEB5
secondary
#7373E4
accent
#00E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FEFEB5

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

Preview Lab → · Contrast checker → · Palette generator →

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