#FCF07A#FCF07A

#FCF07A is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.140 H 103.5°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FCF07A
RGBrgb(252, 240, 122)
HSLhsl(54, 96%, 73%)
HSVhsv(54, 52%, 99%)
CMYKcmyk(0%, 4.8%, 51.6%, 1.2%)
CIE-LABlab(93.63, -10.89, 57.79)
CIE-LCHlch(93.63, 58.81, 100.67°)
OKLaboklab(94.14% -0.0326 0.136)
OKLCHoklch(94.14% 0.14 103.5)
XYZxyz(74.8200, 84.4232, 30.7627)
Luminance0.8442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF07A #7A86FC
analogous
#FCAF7A #FCF07A #C7FC7A
triadic
#FCF07A #7AFCF0 #F07AFC
tetradic
#FCF07A #7AFCAF #7A86FC #FC7AC7
square
#FCF07A #7AFCAF #7A86FC #FC7AC7
split-complementary
#FCF07A #7AC7FC #AF7AFC
monochromatic
#F6E006 #FBE93E #FCF07A #FDF7B6 #FEFCE1

Accessibility & contrast

On white

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

On black

17.88
#FCF07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF07A
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF07A#FFFFFF#000000##000000
##FCF07A1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf07a;
/* rgb */ color: rgb(252, 240, 122);
/* oklch */ color: oklch(94.1% 0.140 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff4a3',
    500: '#fcf07a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf07a;
$custom-light: #fff4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf07a",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 122
  },
  "hsl": {
    "h": 54.462,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94135,
    "c": 0.13988,
    "h": 103.5
  },
  "luminance": 0.84421
}

Semantic roles & 50–950 ramp

primary
#FCF07A
secondary
#414FD9
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF07A

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

Preview Lab → · Contrast checker → · Palette generator →

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