#FCF06F#FCF06F

#FCF06F is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.150 H 104.0°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#FCF06F
RGBrgb(252, 240, 111)
HSLhsl(55, 96%, 71%)
HSVhsv(55, 56%, 99%)
CMYKcmyk(0%, 4.8%, 56%, 1.2%)
CIE-LABlab(93.52, -11.74, 62.60)
CIE-LCHlch(93.52, 63.69, 100.62°)
OKLaboklab(94.01% -0.0362 0.1453)
OKLCHoklch(94.01% 0.15 104)
XYZxyz(74.1766, 84.1659, 27.3742)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF06F #6F7BFC
analogous
#FCA96F #FCF06F #C1FC6F
triadic
#FCF06F #6FFCF0 #F06FFC
tetradic
#FCF06F #6FFCA9 #6F7BFC #FC6FC1
square
#FCF06F #6FFCA9 #6F7BFC #FC6FC1
split-complementary
#FCF06F #6FC1FC #A96FFC
monochromatic
#ECD805 #FBEA33 #FCF06F #FDF6AB #FEFCE1

Accessibility & contrast

On white

1.18
#FCF06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#FCF06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF06F
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF06F#FFFFFF#000000##000000
##FCF06F1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE962
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcf06f;
/* rgb */ color: rgb(252, 240, 111);
/* oklch */ color: oklch(94.0% 0.150 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff49c',
    500: '#fcf06f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf06f;
$custom-light: #fff49c;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf06f",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 54.894,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94011,
    "c": 0.14973,
    "h": 104
  },
  "luminance": 0.84163
}

Semantic roles & 50–950 ramp

primary
#FCF06F
secondary
#3745D8
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF06F

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

Preview Lab → · Contrast checker → · Palette generator →

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