#FCF296#FCF296

#FCF296 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 94.9% C 0.114 H 102.9°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FCF296
RGBrgb(252, 242, 150)
HSLhsl(54, 94%, 79%)
HSVhsv(54, 40%, 99%)
CMYKcmyk(0%, 4%, 40.5%, 1.2%)
CIE-LABlab(94.48, -9.31, 45.54)
CIE-LCHlch(94.48, 46.48, 101.55°)
OKLaboklab(94.92% -0.0254 0.1108)
OKLCHoklch(94.92% 0.114 102.9)
XYZxyz(77.4035, 86.4038, 41.4485)
Luminance0.8640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF296 #96A0FC
analogous
#FCBF96 #FCF296 #D3FC96
triadic
#FCF296 #96FCF2 #F296FC
tetradic
#FCF296 #96FCBF #96A0FC #FC96D3
square
#FCF296 #96FCBF #96A0FC #FC96D3
split-complementary
#FCF296 #96D3FC #BF96FC
monochromatic
#F9E31F #FAEB5B #FCF296 #FEF9D2 #FEFBE1

Accessibility & contrast

On white

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

On black

18.28
#FCF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF296
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF296#FFFFFF#000000##000000
##FCF2961.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf296;
/* rgb */ color: rgb(252, 242, 150);
/* oklch */ color: oklch(94.9% 0.114 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff6b6',
    500: '#fcf296',
    950: '#000000',
  },
}
SCSS
$custom: #fcf296;
$custom-light: #fff6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf296",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 54.118,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94922,
    "c": 0.1137,
    "h": 102.9
  },
  "luminance": 0.86402
}

Semantic roles & 50–950 ramp

primary
#FCF296
secondary
#5966DD
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF296

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

Preview Lab → · Contrast checker → · Palette generator →

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