#FCF07D#FCF07D

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

Color values

HEX#FCF07D
RGBrgb(252, 240, 125)
HSLhsl(54, 95%, 74%)
HSVhsv(54, 50%, 99%)
CMYKcmyk(0%, 4.8%, 50.4%, 1.2%)
CIE-LABlab(93.67, -10.65, 56.45)
CIE-LCHlch(93.67, 57.44, 100.68°)
OKLaboklab(94.17% -0.0316 0.1334)
OKLCHoklch(94.17% 0.137 103.3)
XYZxyz(75.0088, 84.4987, 31.7568)
Luminance0.8450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF07D #7D89FC
analogous
#FCB17D #FCF07D #C9FC7D
triadic
#FCF07D #7DFCF0 #F07DFC
tetradic
#FCF07D #7DFCB1 #7D89FC #FC7DC9
square
#FCF07D #7DFCB1 #7D89FC #FC7DC9
split-complementary
#FCF07D #7DC9FC #B17DFC
monochromatic
#F9E206 #FBE941 #FCF07D #FDF7B9 #FEFCE1

Accessibility & contrast

On white

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

On black

17.90
#FCF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF07D
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF07D#FFFFFF#000000##000000
##FCF07D1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE973
Deuteranopia (green-blind)
#FFF082
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf07d;
/* rgb */ color: rgb(252, 240, 125);
/* oklch */ color: oklch(94.2% 0.137 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff4a5',
    500: '#fcf07d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf07d;
$custom-light: #fff4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf07d",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 54.331,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94172,
    "c": 0.13706,
    "h": 103.3
  },
  "luminance": 0.84496
}

Semantic roles & 50–950 ramp

primary
#FCF07D
secondary
#4352DA
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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