#FCF088#FCF088

#FCF088 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.3% C 0.126 H 102.7°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#FCF088
RGBrgb(252, 240, 136)
HSLhsl(54, 95%, 76%)
HSVhsv(54, 46%, 99%)
CMYKcmyk(0%, 4.8%, 46%, 1.2%)
CIE-LABlab(93.79, -9.68, 51.44)
CIE-LCHlch(93.79, 52.34, 100.66°)
OKLaboklab(94.32% -0.0277 0.1232)
OKLCHoklch(94.32% 0.126 102.7)
XYZxyz(75.7508, 84.7955, 35.6647)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF088 #8894FC
analogous
#FCB688 #FCF088 #CEFC88
triadic
#FCF088 #88FCF0 #F088FC
tetradic
#FCF088 #88FCB6 #8894FC #FC88CE
square
#FCF088 #88FCB6 #8894FC #FC88CE
split-complementary
#FCF088 #88CEFC #B688FC
monochromatic
#F9E111 #FAE84C #FCF088 #FEF8C4 #FEFBE1

Accessibility & contrast

On white

1.17
#FCF088 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#FCF088 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF088
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF088#FFFFFF#000000##000000
##FCF0881.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7F
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf088;
/* rgb */ color: rgb(252, 240, 136);
/* oklch */ color: oklch(94.3% 0.126 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff4ac',
    500: '#fcf088',
    950: '#000000',
  },
}
SCSS
$custom: #fcf088;
$custom-light: #fff4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf088",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 136
  },
  "hsl": {
    "h": 53.793,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94315,
    "c": 0.12629,
    "h": 102.7
  },
  "luminance": 0.84793
}

Semantic roles & 50–950 ramp

primary
#FCF088
secondary
#4D5CDB
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF088

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

Preview Lab → · Contrast checker → · Palette generator →

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