#FEFCB5#FEFCB5

#FEFCB5 is a very light, moderate yellow. Relative luminance 0.940; OKLCH L 97.6% C 0.090 H 106.6°. Best body text is #000000 at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#FEFCB5
RGBrgb(254, 252, 181)
HSLhsl(58, 97%, 85%)
HSVhsv(58, 29%, 100%)
CMYKcmyk(0%, 0.8%, 28.7%, 0.4%)
CIE-LABlab(97.64, -9.97, 34.34)
CIE-LCHlch(97.64, 35.76, 106.19°)
OKLaboklab(97.62% -0.0256 0.0859)
OKLCHoklch(97.62% 0.09 106.6)
XYZxyz(84.0243, 94.0293, 57.4302)
Luminance0.9403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCB5 #B5B7FE
analogous
#FED7B5 #FEFCB5 #DBFEB5
triadic
#FEFCB5 #B5FEFC #FCB5FE
tetradic
#FEFCB5 #B5FED7 #B5B7FE #FEB5DB
square
#FEFCB5 #B5FED7 #B5B7FE #FEB5DB
split-complementary
#FEFCB5 #B5DBFE #D7B5FE
monochromatic
#FCF73C #FDFA79 #FEFCB5 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.81
#FEFCB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCB5
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCB5#FFFFFF#000000##000000
##FEFCB51.001.0619.8119.81
#FFFFFF1.061.0021.0021.00
#00000019.8121.001.001.00
##00000019.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefcb5;
/* rgb */ color: rgb(254, 252, 181);
/* oklch */ color: oklch(97.6% 0.090 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffdcb',
    500: '#fefcb5',
    950: '#000000',
  },
}
SCSS
$custom: #fefcb5;
$custom-light: #fffdcb;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcb5",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 181
  },
  "hsl": {
    "h": 58.356,
    "s": 97.333,
    "l": 85.294
  },
  "oklch": {
    "l": 0.97617,
    "c": 0.08964,
    "h": 106.6
  },
  "luminance": 0.94028
}

Semantic roles & 50–950 ramp

primary
#FEFCB5
secondary
#7376E4
accent
#06E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FEFCB5

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

Preview Lab → · Contrast checker → · Palette generator →

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