#FCF4AC#FCF4AC

#FCF4AC is a very light, moderate yellow. Relative luminance 0.884; OKLCH L 95.7% C 0.091 H 102.6°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FCF4AC
RGBrgb(252, 244, 172)
HSLhsl(54, 93%, 83%)
HSVhsv(54, 32%, 99%)
CMYKcmyk(0%, 3.2%, 31.7%, 1.2%)
CIE-LABlab(95.32, -7.85, 35.73)
CIE-LCHlch(95.32, 36.58, 102.40°)
OKLaboklab(95.69% -0.0198 0.089)
OKLCHoklch(95.69% 0.091 102.6)
XYZxyz(79.9427, 88.3771, 51.8690)
Luminance0.8838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF4AC #ACB4FC
analogous
#FCCCAC #FCF4AC #DCFCAC
triadic
#FCF4AC #ACFCF4 #F4ACFC
tetradic
#FCF4AC #ACFCCC #ACB4FC #FCACDC
square
#FCF4AC #ACFCCC #ACB4FC #FCACDC
split-complementary
#FCF4AC #ACDCFC #CCACFC
monochromatic
#F8E436 #FAEC71 #FCF4AC #FEFBE1 #FEFBE1

Accessibility & contrast

On white

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

On black

18.68
#FCF4AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF4AC
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF4AC#FFFFFF#000000##000000
##FCF4AC1.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFA7
Deuteranopia (green-blind)
#FFF4AF
Tritanopia (blue-blind)
#FFEAE1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf4ac;
/* rgb */ color: rgb(252, 244, 172);
/* oklch */ color: oklch(95.7% 0.091 102.6);
Tailwind
colors: {
  custom: {
    50: '#fef7c5',
    500: '#fcf4ac',
    950: '#000000',
  },
}
SCSS
$custom: #fcf4ac;
$custom-light: #fef7c5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf4ac",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 172
  },
  "hsl": {
    "h": 54,
    "s": 93.023,
    "l": 83.137
  },
  "oklch": {
    "l": 0.9569,
    "c": 0.09117,
    "h": 102.6
  },
  "luminance": 0.88375
}

Semantic roles & 50–950 ramp

primary
#FCF4AC
secondary
#6C78E0
accent
#17E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FCF4AC

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

Preview Lab → · Contrast checker → · Palette generator →

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