#FCF4AF#FCF4AF

#FCF4AF is a very light, moderate yellow. Relative luminance 0.885; OKLCH L 95.7% C 0.088 H 102.3°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#FCF4AF
RGBrgb(252, 244, 175)
HSLhsl(54, 93%, 84%)
HSVhsv(54, 31%, 99%)
CMYKcmyk(0%, 3.2%, 30.6%, 1.2%)
CIE-LABlab(95.37, -7.49, 34.29)
CIE-LCHlch(95.37, 35.10, 102.32°)
OKLaboklab(95.75% -0.0187 0.0857)
OKLCHoklch(95.75% 0.088 102.3)
XYZxyz(80.2341, 88.4937, 53.4035)
Luminance0.8849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF4AF #AFB7FC
analogous
#FCCDAF #FCF4AF #DDFCAF
triadic
#FCF4AF #AFFCF4 #F4AFFC
tetradic
#FCF4AF #AFFCCD #AFB7FC #FCAFDD
square
#FCF4AF #AFFCCD #AFB7FC #FCAFDD
split-complementary
#FCF4AF #AFDDFC #CDAFFC
monochromatic
#F8E439 #FAEC74 #FCF4AF #FEFBE2 #FEFBE2

Accessibility & contrast

On white

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

On black

18.70
#FCF4AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF4AF
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF4AF#FFFFFF#000000##000000
##FCF4AF1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFAA
Deuteranopia (green-blind)
#FFF4B2
Tritanopia (blue-blind)
#FFEBE2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf4af;
/* rgb */ color: rgb(252, 244, 175);
/* oklch */ color: oklch(95.7% 0.088 102.3);
Tailwind
colors: {
  custom: {
    50: '#fef7c7',
    500: '#fcf4af',
    950: '#000000',
  },
}
SCSS
$custom: #fcf4af;
$custom-light: #fef7c7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf4af",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 175
  },
  "hsl": {
    "h": 53.766,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.95745,
    "c": 0.08766,
    "h": 102.3
  },
  "luminance": 0.88492
}

Semantic roles & 50–950 ramp

primary
#FCF4AF
secondary
#6F7BE0
accent
#18E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FCF4AF

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

Preview Lab → · Contrast checker → · Palette generator →

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