#FFFEB5#FFFEB5

#FFFEB5 is a very light, moderate yellow. Relative luminance 0.955; OKLCH L 98.1% C 0.092 H 107.3°. Best body text is #000000 at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#FFFEB5
RGBrgb(255, 254, 181)
HSLhsl(59, 100%, 85%)
HSVhsv(59, 29%, 100%)
CMYKcmyk(0%, 0.4%, 29%, 0%)
CIE-LABlab(98.23, -10.59, 35.13)
CIE-LCHlch(98.23, 36.69, 106.77°)
OKLaboklab(98.1% -0.0274 0.0878)
OKLCHoklch(98.1% 0.092 107.3)
XYZxyz(85.0227, 95.4812, 57.6579)
Luminance0.9548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEB5 #B5B6FF
analogous
#FFD9B5 #FFFEB5 #DBFFB5
triadic
#FFFEB5 #B5FFFE #FEB5FF
tetradic
#FFFEB5 #B5FFD9 #B5B6FF #FFB5DB
square
#FFFEB5 #B5FFD9 #B5B6FF #FFB5DB
split-complementary
#FFFEB5 #B5DBFF #D9B5FF
monochromatic
#FFFC3B #FFFD78 #FFFEB5 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.04
#FFFEB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.10
#FFFEB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEB5
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEB5#FFFFFF#000000##000000
##FFFEB51.001.0420.1020.10
#FFFFFF1.041.0021.0021.00
#00000020.1021.001.001.00
##00000020.1021.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: #fffeb5;
/* rgb */ color: rgb(255, 254, 181);
/* oklch */ color: oklch(98.1% 0.092 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffecb',
    500: '#fffeb5',
    950: '#000000',
  },
}
SCSS
$custom: #fffeb5;
$custom-light: #fffecb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffeb5",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 181
  },
  "hsl": {
    "h": 59.189,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.98097,
    "c": 0.09195,
    "h": 107.3
  },
  "luminance": 0.9548
}

Semantic roles & 50–950 ramp

primary
#FFFEB5
secondary
#7274E6
accent
#03E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFFEB5

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

Preview Lab → · Contrast checker → · Palette generator →

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