#FCF07F#FCF07F

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

Color values

HEX#FCF07F
RGBrgb(252, 240, 127)
HSLhsl(54, 95%, 74%)
HSVhsv(54, 50%, 99%)
CMYKcmyk(0%, 4.8%, 49.6%, 1.2%)
CIE-LABlab(93.69, -10.48, 55.55)
CIE-LCHlch(93.69, 56.52, 100.68°)
OKLaboklab(94.2% -0.0309 0.1316)
OKLCHoklch(94.2% 0.135 103.2)
XYZxyz(75.1378, 84.5503, 32.4364)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF07F #7F8BFC
analogous
#FCB27F #FCF07F #CAFC7F
triadic
#FCF07F #7FFCF0 #F07FFC
tetradic
#FCF07F #7FFCB2 #7F8BFC #FC7FCA
square
#FCF07F #7FFCB2 #7F8BFC #FC7FCA
split-complementary
#FCF07F #7FCAFC #B27FFC
monochromatic
#F9E207 #FBE943 #FCF07F #FDF7BB #FEFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF07F#FFFFFF#000000##000000
##FCF07F1.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)
#FFE975
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf07f;
/* rgb */ color: rgb(252, 240, 127);
/* oklch */ color: oklch(94.2% 0.135 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#fcf07f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf07f;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf07f",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 127
  },
  "hsl": {
    "h": 54.24,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94197,
    "c": 0.13515,
    "h": 103.2
  },
  "luminance": 0.84548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF07F

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

Preview Lab → · Contrast checker → · Palette generator →

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