#FEFCBF#FEFCBF

#FEFCBF is a very light, moderate yellow. Relative luminance 0.945; OKLCH L 97.8% C 0.078 H 106.2°. Best body text is #000000 at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#FEFCBF
RGBrgb(254, 252, 191)
HSLhsl(58, 97%, 87%)
HSVhsv(58, 25%, 100%)
CMYKcmyk(0%, 0.8%, 24.8%, 0.4%)
CIE-LABlab(97.81, -8.69, 29.55)
CIE-LCHlch(97.81, 30.80, 106.39°)
OKLaboklab(97.81% -0.0217 0.0746)
OKLCHoklch(97.81% 0.078 106.2)
XYZxyz(85.0874, 94.4545, 63.0293)
Luminance0.9445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCBF #BFC1FE
analogous
#FEDDBF #FEFCBF #E1FEBF
triadic
#FEFCBF #BFFEFC #FCBFFE
tetradic
#FEFCBF #BFFEDD #BFC1FE #FEBFE1
square
#FEFCBF #BFFEDD #BFC1FE #FEBFE1
split-complementary
#FEFCBF #BFE1FE #DDBFFE
monochromatic
#FCF646 #FDF983 #FEFCBF #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.89
#FEFCBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCBF
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCBF#FFFFFF#000000##000000
##FEFCBF1.001.0619.8919.89
#FFFFFF1.061.0021.0021.00
#00000019.8921.001.001.00
##00000019.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7BB
Deuteranopia (green-blind)
#FFFAC1
Tritanopia (blue-blind)
#FFF4EC
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fefcbf;
/* rgb */ color: rgb(254, 252, 191);
/* oklch */ color: oklch(97.8% 0.078 106.2);
Tailwind
colors: {
  custom: {
    50: '#fffdd2',
    500: '#fefcbf',
    950: '#000000',
  },
}
SCSS
$custom: #fefcbf;
$custom-light: #fffdd2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcbf",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 191
  },
  "hsl": {
    "h": 58.095,
    "s": 96.923,
    "l": 87.255
  },
  "oklch": {
    "l": 0.97809,
    "c": 0.07771,
    "h": 106.2
  },
  "luminance": 0.94453
}

Semantic roles & 50–950 ramp

primary
#FEFCBF
secondary
#7B7FE6
accent
#07E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEFCBF

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

Preview Lab → · Contrast checker → · Palette generator →

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