#FEFCB7#FEFCB7

#FEFCB7 is a very light, moderate yellow. Relative luminance 0.941; OKLCH L 97.7% C 0.087 H 106.5°. Best body text is #000000 at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#FEFCB7
RGBrgb(254, 252, 183)
HSLhsl(58, 97%, 86%)
HSVhsv(58, 28%, 100%)
CMYKcmyk(0%, 0.8%, 28%, 0.4%)
CIE-LABlab(97.68, -9.72, 33.39)
CIE-LCHlch(97.68, 34.77, 106.24°)
OKLaboklab(97.65% -0.0248 0.0837)
OKLCHoklch(97.65% 0.087 106.5)
XYZxyz(84.2310, 94.1119, 58.5188)
Luminance0.9411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCB7 #B7B9FE
analogous
#FED8B7 #FEFCB7 #DCFEB7
triadic
#FEFCB7 #B7FEFC #FCB7FE
tetradic
#FEFCB7 #B7FED8 #B7B9FE #FEB7DC
square
#FEFCB7 #B7FED8 #B7B9FE #FEB7DC
split-complementary
#FEFCB7 #B7DCFE #D8B7FE
monochromatic
#FCF73E #FDF97B #FEFCB7 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.82
#FEFCB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCB7
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCB7#FFFFFF#000000##000000
##FEFCB71.001.0619.8219.82
#FFFFFF1.061.0021.0021.00
#00000019.8221.001.001.00
##00000019.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefcb7;
/* rgb */ color: rgb(254, 252, 183);
/* oklch */ color: oklch(97.7% 0.087 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffdcd',
    500: '#fefcb7',
    950: '#000000',
  },
}
SCSS
$custom: #fefcb7;
$custom-light: #fffdcd;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcb7",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 183
  },
  "hsl": {
    "h": 58.31,
    "s": 97.26,
    "l": 85.686
  },
  "oklch": {
    "l": 0.97654,
    "c": 0.08728,
    "h": 106.5
  },
  "luminance": 0.94111
}

Semantic roles & 50–950 ramp

primary
#FEFCB7
secondary
#7478E5
accent
#06E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FEFCB7

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

Preview Lab → · Contrast checker → · Palette generator →

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