#FCF299#FCF299

#FCF299 is a very light, moderate yellow. Relative luminance 0.865; OKLCH L 95.0% C 0.110 H 102.7°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FCF299
RGBrgb(252, 242, 153)
HSLhsl(54, 94%, 79%)
HSVhsv(54, 39%, 99%)
CMYKcmyk(0%, 4%, 39.3%, 1.2%)
CIE-LABlab(94.53, -8.99, 44.13)
CIE-LCHlch(94.53, 45.04, 101.52°)
OKLaboklab(94.97% -0.0243 0.1078)
OKLCHoklch(94.97% 0.11 102.7)
XYZxyz(77.6482, 86.5017, 42.7370)
Luminance0.8650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF299 #99A3FC
analogous
#FCC199 #FCF299 #D5FC99
triadic
#FCF299 #99FCF2 #F299FC
tetradic
#FCF299 #99FCC1 #99A3FC #FC99D5
square
#FCF299 #99FCC1 #99A3FC #FC99D5
split-complementary
#FCF299 #99D5FC #C199FC
monochromatic
#F9E322 #FAEA5E #FCF299 #FEFAD4 #FEFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF299#FFFFFF#000000##000000
##FCF2991.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)
#FFEC92
Deuteranopia (green-blind)
#FFF29D
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf299;
/* rgb */ color: rgb(252, 242, 153);
/* oklch */ color: oklch(95.0% 0.110 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff6b8',
    500: '#fcf299',
    950: '#000000',
  },
}
SCSS
$custom: #fcf299;
$custom-light: #fff6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf299",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 53.939,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94968,
    "c": 0.11046,
    "h": 102.7
  },
  "luminance": 0.865
}

Semantic roles & 50–950 ramp

primary
#FCF299
secondary
#5C69DE
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF299

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

Preview Lab → · Contrast checker → · Palette generator →

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