#FCF288#FCF288

#FCF288 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.7% C 0.128 H 103.8°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#FCF288
RGBrgb(252, 242, 136)
HSLhsl(55, 95%, 76%)
HSVhsv(55, 46%, 99%)
CMYKcmyk(0%, 4%, 46%, 1.2%)
CIE-LABlab(94.30, -10.67, 52.06)
CIE-LCHlch(94.30, 53.14, 101.58°)
OKLaboklab(94.72% -0.0306 0.1246)
OKLCHoklch(94.72% 0.128 103.8)
XYZxyz(76.3428, 85.9795, 35.8620)
Luminance0.8598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF288 #8892FC
analogous
#FCB888 #FCF288 #CCFC88
triadic
#FCF288 #88FCF2 #F288FC
tetradic
#FCF288 #88FCB8 #8892FC #FC88CC
square
#FCF288 #88FCB8 #8892FC #FC88CC
split-complementary
#FCF288 #88CCFC #B888FC
monochromatic
#F9E511 #FAEB4C #FCF288 #FEF9C4 #FEFCE1

Accessibility & contrast

On white

1.15
#FCF288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#FCF288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF288
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF288#FFFFFF#000000##000000
##FCF2881.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7F
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf288;
/* rgb */ color: rgb(252, 242, 136);
/* oklch */ color: oklch(94.7% 0.128 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff6ad',
    500: '#fcf288',
    950: '#000000',
  },
}
SCSS
$custom: #fcf288;
$custom-light: #fff6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf288",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 54.828,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94719,
    "c": 0.12829,
    "h": 103.8
  },
  "luminance": 0.85977
}

Semantic roles & 50–950 ramp

primary
#FCF288
secondary
#4D59DB
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF288

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

Preview Lab → · Contrast checker → · Palette generator →

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