#FCF792#FCF792

#FCF792 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.9% C 0.123 H 106.0°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#FCF792
RGBrgb(252, 247, 146)
HSLhsl(57, 95%, 78%)
HSVhsv(57, 42%, 99%)
CMYKcmyk(0%, 2%, 42.1%, 1.2%)
CIE-LABlab(95.70, -12.17, 49.01)
CIE-LCHlch(95.70, 50.50, 103.95°)
OKLaboklab(95.87% -0.034 0.1184)
OKLCHoklch(95.87% 0.123 106)
XYZxyz(78.5954, 89.2942, 40.2838)
Luminance0.8929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF792 #9297FC
analogous
#FCC292 #FCF792 #CCFC92
triadic
#FCF792 #92FCF7 #F792FC
tetradic
#FCF792 #92FCC2 #9297FC #FC92CC
square
#FCF792 #92FCC2 #9297FC #FC92CC
split-complementary
#FCF792 #92CCFC #C292FC
monochromatic
#F9EE1B #FAF356 #FCF792 #FEFBCE #FEFDE1

Accessibility & contrast

On white

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

On black

18.86
#FCF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF792
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF792#FFFFFF#000000##000000
##FCF7921.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08A
Deuteranopia (green-blind)
#FFF596
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf792;
/* rgb */ color: rgb(252, 247, 146);
/* oklch */ color: oklch(95.9% 0.123 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff9b3',
    500: '#fcf792',
    950: '#000000',
  },
}
SCSS
$custom: #fcf792;
$custom-light: #fff9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf792",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 57.17,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95871,
    "c": 0.12323,
    "h": 106
  },
  "luminance": 0.89292
}

Semantic roles & 50–950 ramp

primary
#FCF792
secondary
#565CDD
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF792

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

Preview Lab → · Contrast checker → · Palette generator →

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