#FCF285#FCF285

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

Color values

HEX#FCF285
RGBrgb(252, 242, 133)
HSLhsl(55, 95%, 75%)
HSVhsv(55, 47%, 99%)
CMYKcmyk(0%, 4%, 47.2%, 1.2%)
CIE-LABlab(94.27, -10.94, 53.43)
CIE-LCHlch(94.27, 54.54, 101.57°)
OKLaboklab(94.68% -0.0316 0.1274)
OKLCHoklch(94.68% 0.131 103.9)
XYZxyz(76.1326, 85.8954, 34.7548)
Luminance0.8589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF285 #858FFC
analogous
#FCB685 #FCF285 #CAFC85
triadic
#FCF285 #85FCF2 #F285FC
tetradic
#FCF285 #85FCB6 #858FFC #FC85CA
square
#FCF285 #85FCB6 #858FFC #FC85CA
split-complementary
#FCF285 #85CAFC #B685FC
monochromatic
#F9E50E #FBEC49 #FCF285 #FDF8C1 #FEFCE1

Accessibility & contrast

On white

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

On black

18.18
#FCF285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF285
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF285#FFFFFF#000000##000000
##FCF2851.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf285;
/* rgb */ color: rgb(252, 242, 133);
/* oklch */ color: oklch(94.7% 0.131 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fcf285',
    950: '#000000',
  },
}
SCSS
$custom: #fcf285;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf285",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 133
  },
  "hsl": {
    "h": 54.958,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94679,
    "c": 0.13128,
    "h": 103.9
  },
  "luminance": 0.85893
}

Semantic roles & 50–950 ramp

primary
#FCF285
secondary
#4A57DB
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF285

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

Preview Lab → · Contrast checker → · Palette generator →

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