#FEFCB4#FEFCB4

#FEFCB4 is a very light, moderate yellow. Relative luminance 0.940; OKLCH L 97.6% C 0.091 H 106.6°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#FEFCB4
RGBrgb(254, 252, 180)
HSLhsl(58, 97%, 85%)
HSVhsv(58, 29%, 100%)
CMYKcmyk(0%, 0.8%, 29.1%, 0.4%)
CIE-LABlab(97.63, -10.10, 34.82)
CIE-LCHlch(97.63, 36.26, 106.17°)
OKLaboklab(97.6% -0.026 0.087)
OKLCHoklch(97.6% 0.091 106.6)
XYZxyz(83.9221, 93.9884, 56.8918)
Luminance0.9399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCB4 #B4B6FE
analogous
#FED7B4 #FEFCB4 #DBFEB4
triadic
#FEFCB4 #B4FEFC #FCB4FE
tetradic
#FEFCB4 #B4FED7 #B4B6FE #FEB4DB
square
#FEFCB4 #B4FED7 #B4B6FE #FEB4DB
split-complementary
#FEFCB4 #B4DBFE #D7B4FE
monochromatic
#FCF73B #FDFA78 #FEFCB4 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.80
#FEFCB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCB4
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCB4#FFFFFF#000000##000000
##FEFCB41.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6AF
Deuteranopia (green-blind)
#FFFAB7
Tritanopia (blue-blind)
#FFF3E9
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefcb4;
/* rgb */ color: rgb(254, 252, 180);
/* oklch */ color: oklch(97.6% 0.091 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffdcb',
    500: '#fefcb4',
    950: '#000000',
  },
}
SCSS
$custom: #fefcb4;
$custom-light: #fffdcb;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcb4",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 180
  },
  "hsl": {
    "h": 58.378,
    "s": 97.368,
    "l": 85.098
  },
  "oklch": {
    "l": 0.97599,
    "c": 0.09082,
    "h": 106.6
  },
  "luminance": 0.93987
}

Semantic roles & 50–950 ramp

primary
#FEFCB4
secondary
#7275E4
accent
#06E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FEFCB4

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

Preview Lab → · Contrast checker → · Palette generator →

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