#FCF080#FCF080

#FCF080 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.134 H 103.2°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#FCF080
RGBrgb(252, 240, 128)
HSLhsl(54, 95%, 75%)
HSVhsv(54, 49%, 99%)
CMYKcmyk(0%, 4.8%, 49.2%, 1.2%)
CIE-LABlab(93.70, -10.39, 55.09)
CIE-LCHlch(93.70, 56.06, 100.68°)
OKLaboklab(94.21% -0.0306 0.1307)
OKLCHoklch(94.21% 0.134 103.2)
XYZxyz(75.2033, 84.5765, 32.7814)
Luminance0.8457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF080 #808CFC
analogous
#FCB280 #FCF080 #CAFC80
triadic
#FCF080 #80FCF0 #F080FC
tetradic
#FCF080 #80FCB2 #808CFC #FC80CA
square
#FCF080 #80FCB2 #808CFC #FC80CA
split-complementary
#FCF080 #80CAFC #B280FC
monochromatic
#F9E208 #FBE944 #FCF080 #FDF7BC #FEFBE1

Accessibility & contrast

On white

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

On black

17.91
#FCF080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF080
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF080#FFFFFF#000000##000000
##FCF0801.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE976
Deuteranopia (green-blind)
#FFF085
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf080;
/* rgb */ color: rgb(252, 240, 128);
/* oklch */ color: oklch(94.2% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff4a7',
    500: '#fcf080',
    950: '#000000',
  },
}
SCSS
$custom: #fcf080;
$custom-light: #fff4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf080",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 128
  },
  "hsl": {
    "h": 54.194,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9421,
    "c": 0.1342,
    "h": 103.2
  },
  "luminance": 0.84574
}

Semantic roles & 50–950 ramp

primary
#FCF080
secondary
#4654DA
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF080

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

Preview Lab → · Contrast checker → · Palette generator →

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