#FFFECB#FFFECB

#FFFECB is a very light, moderate yellow. Relative luminance 0.965; OKLCH L 98.5% C 0.065 H 106.6°. Best body text is #000000 at 20.29:1 contrast (WCAG AA passes).

Color values

HEX#FFFECB
RGBrgb(255, 254, 203)
HSLhsl(59, 100%, 90%)
HSVhsv(59, 20%, 100%)
CMYKcmyk(0%, 0.4%, 20.4%, 0%)
CIE-LABlab(98.61, -7.70, 24.59)
CIE-LCHlch(98.61, 25.76, 107.38°)
OKLaboklab(98.53% -0.0187 0.0627)
OKLCHoklch(98.53% 0.065 106.6)
XYZxyz(87.4608, 96.4565, 70.4989)
Luminance0.9646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFECB #CBCCFF
analogous
#FFE4CB #FFFECB #E6FFCB
triadic
#FFFECB #CBFFFE #FECBFF
tetradic
#FFFECB #CBFFE4 #CBCCFF #FFCBE6
square
#FFFECB #CBFFE4 #CBCCFF #FFCBE6
split-complementary
#FFFECB #CBE6FF #E4CBFF
monochromatic
#FFFC51 #FFFD8E #FFFECB #FFFEE0 #FFFEE0

Accessibility & contrast

On white

1.03
#FFFECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.29
#FFFECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFECB
20.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFECB#FFFFFF#000000##000000
##FFFECB1.001.0320.2920.29
#FFFFFF1.031.0021.0021.00
#00000020.2921.001.001.00
##00000020.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFAC8
Deuteranopia (green-blind)
#FFFCCD
Tritanopia (blue-blind)
#FFF7F0
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #fffecb;
/* rgb */ color: rgb(255, 254, 203);
/* oklch */ color: oklch(98.5% 0.065 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffedb',
    500: '#fffecb',
    950: '#000000',
  },
}
SCSS
$custom: #fffecb;
$custom-light: #fffedb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffecb",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 203
  },
  "hsl": {
    "h": 58.846,
    "s": 100,
    "l": 89.804
  },
  "oklch": {
    "l": 0.98531,
    "c": 0.06542,
    "h": 106.6
  },
  "luminance": 0.96455
}

Semantic roles & 50–950 ramp

primary
#FFFECB
secondary
#8587E9
accent
#04E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FFFECB

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

Preview Lab → · Contrast checker → · Palette generator →

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