#FCF06A#FCF06A

#FCF06A is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 94.0% C 0.154 H 104.2°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#FCF06A
RGBrgb(252, 240, 106)
HSLhsl(55, 96%, 70%)
HSVhsv(55, 58%, 99%)
CMYKcmyk(0%, 4.8%, 57.9%, 1.2%)
CIE-LABlab(93.48, -12.09, 64.73)
CIE-LCHlch(93.48, 65.85, 100.58°)
OKLaboklab(93.96% -0.0377 0.1493)
OKLCHoklch(93.96% 0.154 104.2)
XYZxyz(73.9090, 84.0588, 25.9646)
Luminance0.8406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF06A #6A76FC
analogous
#FCA76A #FCF06A #BFFC6A
triadic
#FCF06A #6AFCF0 #F06AFC
tetradic
#FCF06A #6AFCA7 #6A76FC #FC6ABF
square
#FCF06A #6AFCA7 #6A76FC #FC6ABF
split-complementary
#FCF06A #6ABFFC #A76AFC
monochromatic
#E7D405 #FBEA2E #FCF06A #FDF6A6 #FEFCE1

Accessibility & contrast

On white

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

On black

17.81
#FCF06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF06A
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF06A#FFFFFF#000000##000000
##FCF06A1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95C
Deuteranopia (green-blind)
#FFEF71
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcf06a;
/* rgb */ color: rgb(252, 240, 106);
/* oklch */ color: oklch(94.0% 0.154 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff499',
    500: '#fcf06a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf06a;
$custom-light: #fff499;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf06a",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 106
  },
  "hsl": {
    "h": 55.068,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93959,
    "c": 0.15395,
    "h": 104.2
  },
  "luminance": 0.84056
}

Semantic roles & 50–950 ramp

primary
#FCF06A
secondary
#3341D7
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF06A

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

Preview Lab → · Contrast checker → · Palette generator →

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