#FCF05D#FCF05D

#FCF05D is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.164 H 104.6°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FCF05D
RGBrgb(252, 240, 93)
HSLhsl(55, 96%, 68%)
HSVhsv(55, 63%, 99%)
CMYKcmyk(0%, 4.8%, 63.1%, 1.2%)
CIE-LABlab(93.37, -12.93, 70.03)
CIE-LCHlch(93.37, 71.21, 100.46°)
OKLaboklab(93.84% -0.0415 0.1588)
OKLCHoklch(93.84% 0.164 104.6)
XYZxyz(73.2835, 83.8086, 22.6702)
Luminance0.8381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF05D #5D69FC
analogous
#FCA15D #FCF05D #B8FC5D
triadic
#FCF05D #5DFCF0 #F05DFC
tetradic
#FCF05D #5DFCA1 #5D69FC #FC5DB8
square
#FCF05D #5DFCA1 #5D69FC #FC5DB8
split-complementary
#FCF05D #5DB8FC #A15DFC
monochromatic
#DBCA04 #FBEA21 #FCF05D #FDF699 #FEFBD5

Accessibility & contrast

On white

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

On black

17.76
#FCF05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF05D
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF05D#FFFFFF#000000##000000
##FCF05D1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84B
Deuteranopia (green-blind)
#FFEF66
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcf05d;
/* rgb */ color: rgb(252, 240, 93);
/* oklch */ color: oklch(93.8% 0.164 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff491',
    500: '#fcf05d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf05d;
$custom-light: #fff491;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf05d",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 93
  },
  "hsl": {
    "h": 55.472,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93838,
    "c": 0.16409,
    "h": 104.6
  },
  "luminance": 0.83806
}

Semantic roles & 50–950 ramp

primary
#FCF05D
secondary
#2936D4
accent
#11E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FCF05D

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

Preview Lab → · Contrast checker → · Palette generator →

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