#FCF2BA#FCF2BA

#FCF2BA is a very light, moderate yellow. Relative luminance 0.877; OKLCH L 95.6% C 0.072 H 99.1°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FCF2BA
RGBrgb(252, 242, 186)
HSLhsl(51, 92%, 86%)
HSVhsv(51, 26%, 99%)
CMYKcmyk(0%, 4%, 26.2%, 1.2%)
CIE-LABlab(95.05, -5.11, 28.30)
CIE-LCHlch(95.05, 28.76, 100.23°)
OKLaboklab(95.56% -0.0115 0.0716)
OKLCHoklch(95.56% 0.072 99.1)
XYZxyz(80.7602, 87.7465, 59.1273)
Luminance0.8774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2BA #BAC4FC
analogous
#FCD1BA #FCF2BA #E5FCBA
triadic
#FCF2BA #BAFCF2 #F2BAFC
tetradic
#FCF2BA #BAFCD1 #BAC4FC #FCBAE5
square
#FCF2BA #BAFCD1 #BAC4FC #FCBAE5
split-complementary
#FCF2BA #BAE5FC #D1BAFC
monochromatic
#F7DC45 #F9E77F #FCF2BA #FEF9E2 #FEF9E2

Accessibility & contrast

On white

1.13
#FCF2BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FCF2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF2BA
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF2BA#FFFFFF#000000##000000
##FCF2BA1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEEB6
Deuteranopia (green-blind)
#FFF3BC
Tritanopia (blue-blind)
#FFEAE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf2ba;
/* rgb */ color: rgb(252, 242, 186);
/* oklch */ color: oklch(95.6% 0.072 99.1);
Tailwind
colors: {
  custom: {
    50: '#fef6cf',
    500: '#fcf2ba',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2ba;
$custom-light: #fef6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2ba",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 186
  },
  "hsl": {
    "h": 50.909,
    "s": 91.667,
    "l": 85.882
  },
  "oklch": {
    "l": 0.95558,
    "c": 0.07247,
    "h": 99.1
  },
  "luminance": 0.87745
}

Semantic roles & 50–950 ramp

primary
#FCF2BA
secondary
#7988E2
accent
#23E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181713
muted
#868583

Preview Lab

Preview with #FCF2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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