#FCF46F#FCF46F

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

Color values

HEX#FCF46F
RGBrgb(252, 244, 111)
HSLhsl(57, 96%, 71%)
HSVhsv(57, 56%, 99%)
CMYKcmyk(0%, 3.2%, 56%, 1.2%)
CIE-LABlab(94.55, -13.70, 63.76)
CIE-LCHlch(94.55, 65.22, 102.13°)
OKLaboklab(94.83% -0.0418 0.1478)
OKLCHoklch(94.83% 0.154 105.8)
XYZxyz(75.3671, 86.5469, 27.7710)
Luminance0.8655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF46F #6F77FC
analogous
#FCAD6F #FCF46F #BDFC6F
triadic
#FCF46F #6FFCF4 #F46FFC
tetradic
#FCF46F #6FFCAD #6F77FC #FC6FBD
square
#FCF46F #6FFCAD #6F77FC #FC6FBD
split-complementary
#FCF46F #6FBDFC #AD6FFC
monochromatic
#ECDF05 #FBEF33 #FCF46F #FDF9AB #FEFDE1

Accessibility & contrast

On white

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

On black

18.31
#FCF46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF46F
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF46F#FFFFFF#000000##000000
##FCF46F1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf46f;
/* rgb */ color: rgb(252, 244, 111);
/* oklch */ color: oklch(94.8% 0.154 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff79c',
    500: '#fcf46f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf46f;
$custom-light: #fff79c;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf46f",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 56.596,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94825,
    "c": 0.15357,
    "h": 105.8
  },
  "luminance": 0.86545
}

Semantic roles & 50–950 ramp

primary
#FCF46F
secondary
#3741D8
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF46F

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

Preview Lab → · Contrast checker → · Palette generator →

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