#FCF2AE#FCF2AE

#FCF2AE is a very light, moderate yellow. Relative luminance 0.873; OKLCH L 95.3% C 0.087 H 100.8°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#FCF2AE
RGBrgb(252, 242, 174)
HSLhsl(52, 93%, 84%)
HSVhsv(52, 31%, 99%)
CMYKcmyk(0%, 4%, 31%, 1.2%)
CIE-LABlab(94.85, -6.62, 34.10)
CIE-LCHlch(94.85, 34.73, 100.98°)
OKLaboklab(95.33% -0.0162 0.0852)
OKLCHoklch(95.33% 0.087 100.8)
XYZxyz(79.5377, 87.2575, 52.6887)
Luminance0.8726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF2AE #AEB8FC
analogous
#FCCBAE #FCF2AE #DFFCAE
triadic
#FCF2AE #AEFCF2 #F2AEFC
tetradic
#FCF2AE #AEFCCB #AEB8FC #FCAEDF
square
#FCF2AE #AEFCCB #AEB8FC #FCAEDF
split-complementary
#FCF2AE #AEDFFC #CBAEFC
monochromatic
#F8DF38 #FAE973 #FCF2AE #FEFAE1 #FEFAE1

Accessibility & contrast

On white

1.14
#FCF2AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#FCF2AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF2AE
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF2AE#FFFFFF#000000##000000
##FCF2AE1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEEA9
Deuteranopia (green-blind)
#FFF2B0
Tritanopia (blue-blind)
#FFE9E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf2ae;
/* rgb */ color: rgb(252, 242, 174);
/* oklch */ color: oklch(95.3% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#fef6c6',
    500: '#fcf2ae',
    950: '#000000',
  },
}
SCSS
$custom: #fcf2ae;
$custom-light: #fef6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf2ae",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 174
  },
  "hsl": {
    "h": 52.308,
    "s": 92.857,
    "l": 83.529
  },
  "oklch": {
    "l": 0.95327,
    "c": 0.08671,
    "h": 100.8
  },
  "luminance": 0.87256
}

Semantic roles & 50–950 ramp

primary
#FCF2AE
secondary
#6E7DE0
accent
#1DE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FCF2AE

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

Preview Lab → · Contrast checker → · Palette generator →

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