#FCF18F#FCF18F

#FCF18F is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.120 H 102.8°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FCF18F
RGBrgb(252, 241, 143)
HSLhsl(54, 95%, 77%)
HSVhsv(54, 43%, 99%)
CMYKcmyk(0%, 4.4%, 43.3%, 1.2%)
CIE-LABlab(94.14, -9.51, 48.50)
CIE-LCHlch(94.14, 49.43, 101.09°)
OKLaboklab(94.62% -0.0266 0.1171)
OKLCHoklch(94.62% 0.12 102.8)
XYZxyz(76.5598, 85.5914, 38.4691)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF18F #8F9AFC
analogous
#FCBB8F #FCF18F #D1FC8F
triadic
#FCF18F #8FFCF1 #F18FFC
tetradic
#FCF18F #8FFCBB #8F9AFC #FC8FD1
square
#FCF18F #8FFCBB #8F9AFC #FC8FD1
split-complementary
#FCF18F #8FD1FC #BB8FFC
monochromatic
#F9E218 #FAEA53 #FCF18F #FEF8CB #FEFBE1

Accessibility & contrast

On white

1.16
#FCF18F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FCF18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF18F
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF18F#FFFFFF#000000##000000
##FCF18F1.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB87
Deuteranopia (green-blind)
#FFF193
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf18f;
/* rgb */ color: rgb(252, 241, 143);
/* oklch */ color: oklch(94.6% 0.120 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff5b1',
    500: '#fcf18f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf18f;
$custom-light: #fff5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf18f",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 143
  },
  "hsl": {
    "h": 53.945,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94616,
    "c": 0.12011,
    "h": 102.8
  },
  "luminance": 0.85589
}

Semantic roles & 50–950 ramp

primary
#FCF18F
secondary
#5361DC
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF18F

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

Preview Lab → · Contrast checker → · Palette generator →

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