#FCF160#FCF160

#FCF160 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.163 H 105.0°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#FCF160
RGBrgb(252, 241, 96)
HSLhsl(56, 96%, 68%)
HSVhsv(56, 62%, 99%)
CMYKcmyk(0%, 4.4%, 61.9%, 1.2%)
CIE-LABlab(93.65, -13.23, 69.11)
CIE-LCHlch(93.65, 70.36, 100.84°)
OKLaboklab(94.07% -0.0421 0.1573)
OKLCHoklch(94.07% 0.163 105)
XYZxyz(73.7142, 84.4532, 23.4822)
Luminance0.8445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF160 #606BFC
analogous
#FCA360 #FCF160 #B9FC60
triadic
#FCF160 #60FCF1 #F160FC
tetradic
#FCF160 #60FCA3 #606BFC #FC60B9
square
#FCF160 #60FCA3 #606BFC #FC60B9
split-complementary
#FCF160 #60B9FC #A360FC
monochromatic
#DDCE04 #FBEC24 #FCF160 #FDF69C #FEFCD8

Accessibility & contrast

On white

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

On black

17.89
#FCF160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF160
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF160#FFFFFF#000000##000000
##FCF1601.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94E
Deuteranopia (green-blind)
#FFF068
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf160;
/* rgb */ color: rgb(252, 241, 96);
/* oklch */ color: oklch(94.1% 0.163 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff593',
    500: '#fcf160',
    950: '#000000',
  },
}
SCSS
$custom: #fcf160;
$custom-light: #fff593;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf160",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 96
  },
  "hsl": {
    "h": 55.769,
    "s": 96.296,
    "l": 68.235
  },
  "oklch": {
    "l": 0.94068,
    "c": 0.16278,
    "h": 105
  },
  "luminance": 0.84451
}

Semantic roles & 50–950 ramp

primary
#FCF160
secondary
#2B37D6
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #FCF160

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

Preview Lab → · Contrast checker → · Palette generator →

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