#FCF284#FCF284

#FCF284 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.7% C 0.132 H 104.0°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#FCF284
RGBrgb(252, 242, 132)
HSLhsl(55, 95%, 75%)
HSVhsv(55, 48%, 99%)
CMYKcmyk(0%, 4%, 47.6%, 1.2%)
CIE-LABlab(94.26, -11.03, 53.89)
CIE-LCHlch(94.26, 55.01, 101.57°)
OKLaboklab(94.67% -0.032 0.1283)
OKLCHoklch(94.67% 0.132 104)
XYZxyz(76.0638, 85.8679, 34.3927)
Luminance0.8587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF284 #848EFC
analogous
#FCB684 #FCF284 #CAFC84
triadic
#FCF284 #84FCF2 #F284FC
tetradic
#FCF284 #84FCB6 #848EFC #FC84CA
square
#FCF284 #84FCB6 #848EFC #FC84CA
split-complementary
#FCF284 #84CAFC #B684FC
monochromatic
#F9E50D #FBEC48 #FCF284 #FDF8C0 #FEFCE1

Accessibility & contrast

On white

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

On black

18.17
#FCF284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF284
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF284#FFFFFF#000000##000000
##FCF2841.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf284;
/* rgb */ color: rgb(252, 242, 132);
/* oklch */ color: oklch(94.7% 0.132 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff6aa',
    500: '#fcf284',
    950: '#000000',
  },
}
SCSS
$custom: #fcf284;
$custom-light: #fff6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf284",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 132
  },
  "hsl": {
    "h": 55,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94666,
    "c": 0.13227,
    "h": 104
  },
  "luminance": 0.85866
}

Semantic roles & 50–950 ramp

primary
#FCF284
secondary
#4956DB
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF284

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

Preview Lab → · Contrast checker → · Palette generator →

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