#FEFCB9#FEFCB9

#FEFCB9 is a very light, moderate yellow. Relative luminance 0.942; OKLCH L 97.7% C 0.085 H 106.4°. Best body text is #000000 at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#FEFCB9
RGBrgb(254, 252, 185)
HSLhsl(58, 97%, 86%)
HSVhsv(58, 27%, 100%)
CMYKcmyk(0%, 0.8%, 27.2%, 0.4%)
CIE-LABlab(97.71, -9.47, 32.43)
CIE-LCHlch(97.71, 33.78, 106.28°)
OKLaboklab(97.69% -0.024 0.0814)
OKLCHoklch(97.69% 0.085 106.4)
XYZxyz(84.4406, 94.1958, 59.6229)
Luminance0.9419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCB9 #B9BBFE
analogous
#FED9B9 #FEFCB9 #DDFEB9
triadic
#FEFCB9 #B9FEFC #FCB9FE
tetradic
#FEFCB9 #B9FED9 #B9BBFE #FEB9DD
square
#FEFCB9 #B9FED9 #B9BBFE #FEB9DD
split-complementary
#FEFCB9 #B9DDFE #D9B9FE
monochromatic
#FCF740 #FDF97D #FEFCB9 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.84
#FEFCB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCB9
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCB9#FFFFFF#000000##000000
##FEFCB91.001.0619.8419.84
#FFFFFF1.061.0021.0021.00
#00000019.8421.001.001.00
##00000019.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7B5
Deuteranopia (green-blind)
#FFFABC
Tritanopia (blue-blind)
#FFF3EA
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefcb9;
/* rgb */ color: rgb(254, 252, 185);
/* oklch */ color: oklch(97.7% 0.085 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffdce',
    500: '#fefcb9',
    950: '#000000',
  },
}
SCSS
$custom: #fefcb9;
$custom-light: #fffdce;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcb9",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 185
  },
  "hsl": {
    "h": 58.261,
    "s": 97.183,
    "l": 86.078
  },
  "oklch": {
    "l": 0.97692,
    "c": 0.08491,
    "h": 106.4
  },
  "luminance": 0.94194
}

Semantic roles & 50–950 ramp

primary
#FEFCB9
secondary
#7679E5
accent
#07E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FEFCB9

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

Preview Lab → · Contrast checker → · Palette generator →

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