#FEFCB2#FEFCB2

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

Color values

HEX#FEFCB2
RGBrgb(254, 252, 178)
HSLhsl(58, 97%, 85%)
HSVhsv(58, 30%, 100%)
CMYKcmyk(0%, 0.8%, 29.9%, 0.4%)
CIE-LABlab(97.59, -10.34, 35.78)
CIE-LCHlch(97.59, 37.24, 106.12°)
OKLaboklab(97.56% -0.0268 0.0892)
OKLCHoklch(97.56% 0.093 106.7)
XYZxyz(83.7198, 93.9074, 55.8265)
Luminance0.9391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCB2 #B2B4FE
analogous
#FED6B2 #FEFCB2 #DAFEB2
triadic
#FEFCB2 #B2FEFC #FCB2FE
tetradic
#FEFCB2 #B2FED6 #B2B4FE #FEB2DA
square
#FEFCB2 #B2FED6 #B2B4FE #FEB2DA
split-complementary
#FEFCB2 #B2DAFE #D6B2FE
monochromatic
#FCF739 #FDFA76 #FEFCB2 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.78
#FEFCB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCB2
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCB2#FFFFFF#000000##000000
##FEFCB21.001.0619.7819.78
#FFFFFF1.061.0021.0021.00
#00000019.7821.001.001.00
##00000019.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefcb2;
/* rgb */ color: rgb(254, 252, 178);
/* oklch */ color: oklch(97.6% 0.093 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffdc9',
    500: '#fefcb2',
    950: '#000000',
  },
}
SCSS
$custom: #fefcb2;
$custom-light: #fffdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcb2",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 178
  },
  "hsl": {
    "h": 58.421,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.97562,
    "c": 0.09317,
    "h": 106.7
  },
  "luminance": 0.93906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFCB2

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

Preview Lab → · Contrast checker → · Palette generator →

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