#FEFCB3#FEFCB3

#FEFCB3 is a very light, moderate yellow. Relative luminance 0.939; OKLCH L 97.6% C 0.092 H 106.7°. Best body text is #000000 at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#FEFCB3
RGBrgb(254, 252, 179)
HSLhsl(58, 97%, 85%)
HSVhsv(58, 30%, 100%)
CMYKcmyk(0%, 0.8%, 29.5%, 0.4%)
CIE-LABlab(97.61, -10.22, 35.30)
CIE-LCHlch(97.61, 36.75, 106.14°)
OKLaboklab(97.58% -0.0264 0.0881)
OKLCHoklch(97.58% 0.092 106.7)
XYZxyz(83.8206, 93.9478, 56.3572)
Luminance0.9395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCB3 #B3B5FE
analogous
#FED7B3 #FEFCB3 #DBFEB3
triadic
#FEFCB3 #B3FEFC #FCB3FE
tetradic
#FEFCB3 #B3FED7 #B3B5FE #FEB3DB
square
#FEFCB3 #B3FED7 #B3B5FE #FEB3DB
split-complementary
#FEFCB3 #B3DBFE #D7B3FE
monochromatic
#FCF73A #FDFA77 #FEFCB3 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.79
#FEFCB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCB3
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCB3#FFFFFF#000000##000000
##FEFCB31.001.0619.7919.79
#FFFFFF1.061.0021.0021.00
#00000019.7921.001.001.00
##00000019.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefcb3;
/* rgb */ color: rgb(254, 252, 179);
/* oklch */ color: oklch(97.6% 0.092 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffdca',
    500: '#fefcb3',
    950: '#000000',
  },
}
SCSS
$custom: #fefcb3;
$custom-light: #fffdca;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcb3",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 179
  },
  "hsl": {
    "h": 58.4,
    "s": 97.403,
    "l": 84.902
  },
  "oklch": {
    "l": 0.9758,
    "c": 0.09199,
    "h": 106.7
  },
  "luminance": 0.93946
}

Semantic roles & 50–950 ramp

primary
#FEFCB3
secondary
#7174E4
accent
#06E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEFCB3

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

Preview Lab → · Contrast checker → · Palette generator →

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