#FCF799#FCF799

#FCF799 is a very light, moderate yellow. Relative luminance 0.895; OKLCH L 96.0% C 0.116 H 105.7°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FCF799
RGBrgb(252, 247, 153)
HSLhsl(57, 94%, 79%)
HSVhsv(57, 39%, 99%)
CMYKcmyk(0%, 2%, 39.3%, 1.2%)
CIE-LABlab(95.80, -11.46, 45.75)
CIE-LCHlch(95.80, 47.16, 104.07°)
OKLaboklab(95.98% -0.0314 0.1114)
OKLCHoklch(95.98% 0.116 105.7)
XYZxyz(79.1567, 89.5187, 43.2399)
Luminance0.8952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF799 #999EFC
analogous
#FCC699 #FCF799 #D0FC99
triadic
#FCF799 #99FCF7 #F799FC
tetradic
#FCF799 #99FCC6 #999EFC #FC99D0
square
#FCF799 #99FCC6 #999EFC #FC99D0
split-complementary
#FCF799 #99D0FC #C699FC
monochromatic
#F9EE22 #FAF25E #FCF799 #FEFCD4 #FEFDE1

Accessibility & contrast

On white

1.11
#FCF799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#FCF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF799
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF799#FFFFFF#000000##000000
##FCF7991.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF092
Deuteranopia (green-blind)
#FFF59D
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf799;
/* rgb */ color: rgb(252, 247, 153);
/* oklch */ color: oklch(96.0% 0.116 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff9b8',
    500: '#fcf799',
    950: '#000000',
  },
}
SCSS
$custom: #fcf799;
$custom-light: #fff9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf799",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 56.97,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95976,
    "c": 0.11577,
    "h": 105.7
  },
  "luminance": 0.89517
}

Semantic roles & 50–950 ramp

primary
#FCF799
secondary
#5C62DE
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF799

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

Preview Lab → · Contrast checker → · Palette generator →

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