#FEFCE2#FEFCE2

#FEFCE2 is a very light, muted yellow. Relative luminance 0.962; OKLCH L 98.6% C 0.034 H 103.4°. Best body text is #000000 at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#FEFCE2
RGBrgb(254, 252, 226)
HSLhsl(56, 93%, 94%)
HSVhsv(56, 11%, 100%)
CMYKcmyk(0%, 0.8%, 11%, 0.4%)
CIE-LABlab(98.50, -3.64, 12.70)
CIE-LCHlch(98.50, 13.21, 106.01°)
OKLaboklab(98.58% -0.0079 0.033)
OKLCHoklch(98.58% 0.034 103.4)
XYZxyz(89.4094, 96.1833, 85.7918)
Luminance0.9618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCE2 #E2E4FE
analogous
#FEEEE2 #FEFCE2 #F2FEE2
triadic
#FEFCE2 #E2FEFC #FCE2FE
tetradic
#FEFCE2 #E2FEEE #E2E4FE #FEE2F2
square
#FEFCE2 #E2FEEE #E2E4FE #FEE2F2
split-complementary
#FEFCE2 #E2F2FE #EEE2FE
monochromatic
#FAF06C #FCF6A7 #FEFCE1 #FEFCE1 #FEFCE1

Accessibility & contrast

On white

1.04
#FEFCE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.24
#FEFCE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCE2
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCE2#FFFFFF#000000##000000
##FEFCE21.001.0420.2420.24
#FFFFFF1.041.0021.0021.00
#00000020.2421.001.001.00
##00000020.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFAE1
Deuteranopia (green-blind)
#FFFBE3
Tritanopia (blue-blind)
#FFF8F4
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #fefce2;
/* rgb */ color: rgb(254, 252, 226);
/* oklch */ color: oklch(98.6% 0.034 103.4);
Tailwind
colors: {
  custom: {
    50: '#fefdeb',
    500: '#fefce2',
    950: '#000000',
  },
}
SCSS
$custom: #fefce2;
$custom-light: #fefdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#fefce2",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 226
  },
  "hsl": {
    "h": 55.714,
    "s": 93.333,
    "l": 94.118
  },
  "oklch": {
    "l": 0.98581,
    "c": 0.03395,
    "h": 103.4
  },
  "luminance": 0.96183
}

Semantic roles & 50–950 ramp

primary
#FEFCE2
secondary
#9AA0EA
accent
#10E600
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FEFCE2

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

Preview Lab → · Contrast checker → · Palette generator →

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