#FCF46C#FCF46C

#FCF46C is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.156 H 105.9°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FCF46C
RGBrgb(252, 244, 108)
HSLhsl(57, 96%, 71%)
HSVhsv(57, 57%, 99%)
CMYKcmyk(0%, 3.2%, 57.1%, 1.2%)
CIE-LABlab(94.52, -13.91, 65.03)
CIE-LCHlch(94.52, 66.50, 102.08°)
OKLaboklab(94.79% -0.0427 0.1501)
OKLCHoklch(94.79% 0.156 105.9)
XYZxyz(75.2047, 86.4819, 26.9156)
Luminance0.8648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF46C #6C74FC
analogous
#FCAC6C #FCF46C #BCFC6C
triadic
#FCF46C #6CFCF4 #F46CFC
tetradic
#FCF46C #6CFCAC #6C74FC #FC6CBC
square
#FCF46C #6CFCAC #6C74FC #FC6CBC
split-complementary
#FCF46C #6CBCFC #AC6CFC
monochromatic
#E9DC05 #FBF030 #FCF46C #FDF8A8 #FEFDE1

Accessibility & contrast

On white

1.15
#FCF46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#FCF46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF46C
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF46C#FFFFFF#000000##000000
##FCF46C1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF273
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf46c;
/* rgb */ color: rgb(252, 244, 108);
/* oklch */ color: oklch(94.8% 0.156 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff79b',
    500: '#fcf46c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf46c;
$custom-light: #fff79b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf46c",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 56.667,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94794,
    "c": 0.15609,
    "h": 105.9
  },
  "luminance": 0.8648
}

Semantic roles & 50–950 ramp

primary
#FCF46C
secondary
#353ED7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF46C

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

Preview Lab → · Contrast checker → · Palette generator →

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