#FCF280#FCF280

#FCF280 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.136 H 104.2°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FCF280
RGBrgb(252, 242, 128)
HSLhsl(55, 95%, 75%)
HSVhsv(55, 49%, 99%)
CMYKcmyk(0%, 4%, 49.2%, 1.2%)
CIE-LABlab(94.21, -11.38, 55.70)
CIE-LCHlch(94.21, 56.85, 101.54°)
OKLaboklab(94.61% -0.0334 0.132)
OKLCHoklch(94.61% 0.136 104.2)
XYZxyz(75.7953, 85.7605, 32.9787)
Luminance0.8576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF280 #808AFC
analogous
#FCB480 #FCF280 #C8FC80
triadic
#FCF280 #80FCF2 #F280FC
tetradic
#FCF280 #80FCB4 #808AFC #FC80C8
square
#FCF280 #80FCB4 #808AFC #FC80C8
split-complementary
#FCF280 #80C8FC #B480FC
monochromatic
#F9E608 #FBEC44 #FCF280 #FDF8BC #FEFCE1

Accessibility & contrast

On white

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

On black

18.15
#FCF280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF280
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF280#FFFFFF#000000##000000
##FCF2801.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf280;
/* rgb */ color: rgb(252, 242, 128);
/* oklch */ color: oklch(94.6% 0.136 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a7',
    500: '#fcf280',
    950: '#000000',
  },
}
SCSS
$custom: #fcf280;
$custom-light: #fff6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf280",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 55.161,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94614,
    "c": 0.13616,
    "h": 104.2
  },
  "luminance": 0.85758
}

Semantic roles & 50–950 ramp

primary
#FCF280
secondary
#4652DA
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF280

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

Preview Lab → · Contrast checker → · Palette generator →

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