#FCF456#FCF456

#FCF456 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.173 H 106.4°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#FCF456
RGBrgb(252, 244, 86)
HSLhsl(57, 97%, 66%)
HSVhsv(57, 66%, 99%)
CMYKcmyk(0%, 3.2%, 65.9%, 1.2%)
CIE-LABlab(94.34, -15.27, 73.77)
CIE-LCHlch(94.34, 75.33, 101.70°)
OKLaboklab(94.6% -0.0489 0.1656)
OKLCHoklch(94.6% 0.173 106.4)
XYZxyz(74.1780, 86.0712, 21.5083)
Luminance0.8607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF456 #565EFC
analogous
#FCA156 #FCF456 #B1FC56
triadic
#FCF456 #56FCF4 #F456FC
tetradic
#FCF456 #56FCA1 #565EFC #FC56B1
square
#FCF456 #56FCA1 #565EFC #FC56B1
split-complementary
#FCF456 #56B1FC #A156FC
monochromatic
#D4CA04 #FBF01A #FCF456 #FDF892 #FEFCCE

Accessibility & contrast

On white

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

On black

18.21
#FCF456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF456
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF456#FFFFFF#000000##000000
##FCF4561.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB40
Deuteranopia (green-blind)
#FFF260
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf456;
/* rgb */ color: rgb(252, 244, 86);
/* oklch */ color: oklch(94.6% 0.173 106.4);
Tailwind
colors: {
  custom: {
    50: '#fff78e',
    500: '#fcf456',
    950: '#000000',
  },
}
SCSS
$custom: #fcf456;
$custom-light: #fff78e;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf456",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 86
  },
  "hsl": {
    "h": 57.108,
    "s": 96.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94598,
    "c": 0.17267,
    "h": 106.4
  },
  "luminance": 0.86069
}

Semantic roles & 50–950 ramp

primary
#FCF456
secondary
#2830CE
accent
#0BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FCF456

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

Preview Lab → · Contrast checker → · Palette generator →

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