#FCF15D#FCF15D

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

Color values

HEX#FCF15D
RGBrgb(252, 241, 93)
HSLhsl(56, 96%, 68%)
HSVhsv(56, 63%, 99%)
CMYKcmyk(0%, 4.4%, 63.1%, 1.2%)
CIE-LABlab(93.62, -13.41, 70.30)
CIE-LCHlch(93.62, 71.56, 100.80°)
OKLaboklab(94.04% -0.0429 0.1593)
OKLCHoklch(94.04% 0.165 105.1)
XYZxyz(73.5787, 84.3990, 22.7686)
Luminance0.8440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF15D #5D68FC
analogous
#FCA15D #FCF15D #B8FC5D
triadic
#FCF15D #5DFCF1 #F15DFC
tetradic
#FCF15D #5DFCA1 #5D68FC #FC5DB8
square
#FCF15D #5DFCA1 #5D68FC #FC5DB8
split-complementary
#FCF15D #5DB8FC #A15DFC
monochromatic
#DBCC04 #FBEC21 #FCF15D #FDF699 #FEFBD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF15D#FFFFFF#000000##000000
##FCF15D1.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)
#FFE94A
Deuteranopia (green-blind)
#FFF066
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf15d;
/* rgb */ color: rgb(252, 241, 93);
/* oklch */ color: oklch(94.0% 0.165 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff591',
    500: '#fcf15d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf15d;
$custom-light: #fff591;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf15d",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 93
  },
  "hsl": {
    "h": 55.849,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94041,
    "c": 0.165,
    "h": 105.1
  },
  "luminance": 0.84396
}

Semantic roles & 50–950 ramp

primary
#FCF15D
secondary
#2935D4
accent
#10E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FCF15D

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

Preview Lab → · Contrast checker → · Palette generator →

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