#FEFCAB#FEFCAB

#FEFCAB is a very light, moderate yellow. Relative luminance 0.936; OKLCH L 97.4% C 0.101 H 106.9°. Best body text is #000000 at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#FEFCAB
RGBrgb(254, 252, 171)
HSLhsl(59, 98%, 83%)
HSVhsv(59, 33%, 100%)
CMYKcmyk(0%, 0.8%, 32.7%, 0.4%)
CIE-LABlab(97.48, -11.17, 39.11)
CIE-LCHlch(97.48, 40.68, 105.94°)
OKLaboklab(97.44% -0.0295 0.0969)
OKLCHoklch(97.44% 0.101 106.9)
XYZxyz(83.0349, 93.6335, 52.2191)
Luminance0.9363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCAB #ABADFE
analogous
#FED2AB #FEFCAB #D6FEAB
triadic
#FEFCAB #ABFEFC #FCABFE
tetradic
#FEFCAB #ABFED2 #ABADFE #FEABD6
square
#FEFCAB #ABFED2 #ABADFE #FEABD6
split-complementary
#FEFCAB #ABD6FE #D2ABFE
monochromatic
#FDF832 #FDFA6F #FEFCAB #FFFEE1 #FFFEE1

Accessibility & contrast

On white

1.06
#FEFCAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.73
#FEFCAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCAB
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCAB#FFFFFF#000000##000000
##FEFCAB1.001.0619.7319.73
#FFFFFF1.061.0021.0021.00
#00000019.7321.001.001.00
##00000019.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A5
Deuteranopia (green-blind)
#FFF9AE
Tritanopia (blue-blind)
#FFF2E7
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefcab;
/* rgb */ color: rgb(254, 252, 171);
/* oklch */ color: oklch(97.4% 0.101 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffdc4',
    500: '#fefcab',
    950: '#000000',
  },
}
SCSS
$custom: #fefcab;
$custom-light: #fffdc4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcab",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 171
  },
  "hsl": {
    "h": 58.554,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.97438,
    "c": 0.10125,
    "h": 106.9
  },
  "luminance": 0.93632
}

Semantic roles & 50–950 ramp

primary
#FEFCAB
secondary
#6A6DE3
accent
#06E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEFCAB

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

Preview Lab → · Contrast checker → · Palette generator →

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