#FCF18A#FCF18A

#FCF18A is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.125 H 103.1°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#FCF18A
RGBrgb(252, 241, 138)
HSLhsl(54, 95%, 76%)
HSVhsv(54, 45%, 99%)
CMYKcmyk(0%, 4.4%, 45.2%, 1.2%)
CIE-LABlab(94.07, -9.99, 50.83)
CIE-LCHlch(94.07, 51.80, 101.12°)
OKLaboklab(94.55% -0.0284 0.122)
OKLCHoklch(94.55% 0.125 103.1)
XYZxyz(76.1894, 85.4433, 36.5186)
Luminance0.8544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF18A #8A95FC
analogous
#FCB88A #FCF18A #CEFC8A
triadic
#FCF18A #8AFCF1 #F18AFC
tetradic
#FCF18A #8AFCB8 #8A95FC #FC8ACE
square
#FCF18A #8AFCB8 #8A95FC #FC8ACE
split-complementary
#FCF18A #8ACEFC #B88AFC
monochromatic
#F9E313 #FAEA4E #FCF18A #FEF8C6 #FEFBE1

Accessibility & contrast

On white

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

On black

18.09
#FCF18A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF18A
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF18A#FFFFFF#000000##000000
##FCF18A1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB81
Deuteranopia (green-blind)
#FFF18E
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf18a;
/* rgb */ color: rgb(252, 241, 138);
/* oklch */ color: oklch(94.5% 0.125 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff5ae',
    500: '#fcf18a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf18a;
$custom-light: #fff5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf18a",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 138
  },
  "hsl": {
    "h": 54.211,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94545,
    "c": 0.12526,
    "h": 103.1
  },
  "luminance": 0.85441
}

Semantic roles & 50–950 ramp

primary
#FCF18A
secondary
#4F5CDC
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF18A

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

Preview Lab → · Contrast checker → · Palette generator →

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