#FCF4BA#FCF4BA

#FCF4BA is a very light, moderate yellow. Relative luminance 0.889; OKLCH L 96.0% C 0.075 H 101.1°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FCF4BA
RGBrgb(252, 244, 186)
HSLhsl(53, 92%, 86%)
HSVhsv(53, 26%, 99%)
CMYKcmyk(0%, 3.2%, 26.2%, 1.2%)
CIE-LABlab(95.56, -6.11, 28.99)
CIE-LCHlch(95.56, 29.62, 101.89°)
OKLaboklab(95.96% -0.0143 0.0732)
OKLCHoklch(95.96% 0.075 101.1)
XYZxyz(81.3588, 88.9435, 59.3268)
Luminance0.8894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF4BA #BAC2FC
analogous
#FCD3BA #FCF4BA #E3FCBA
triadic
#FCF4BA #BAFCF4 #F4BAFC
tetradic
#FCF4BA #BAFCD3 #BAC2FC #FCBAE3
square
#FCF4BA #BAFCD3 #BAC2FC #FCBAE3
split-complementary
#FCF4BA #BAE3FC #D3BAFC
monochromatic
#F7E145 #F9EB7F #FCF4BA #FEFAE2 #FEFAE2

Accessibility & contrast

On white

1.12
#FCF4BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#FCF4BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF4BA
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF4BA#FFFFFF#000000##000000
##FCF4BA1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0B6
Deuteranopia (green-blind)
#FFF4BC
Tritanopia (blue-blind)
#FFECE4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf4ba;
/* rgb */ color: rgb(252, 244, 186);
/* oklch */ color: oklch(96.0% 0.075 101.1);
Tailwind
colors: {
  custom: {
    50: '#fef7cf',
    500: '#fcf4ba',
    950: '#000000',
  },
}
SCSS
$custom: #fcf4ba;
$custom-light: #fef7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf4ba",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 186
  },
  "hsl": {
    "h": 52.727,
    "s": 91.667,
    "l": 85.882
  },
  "oklch": {
    "l": 0.95956,
    "c": 0.07459,
    "h": 101.1
  },
  "luminance": 0.88942
}

Semantic roles & 50–950 ramp

primary
#FCF4BA
secondary
#7985E2
accent
#1CE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181713
muted
#868583

Preview Lab

Preview with #FCF4BA

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

Preview Lab → · Contrast checker → · Palette generator →

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