#FCF795#FCF795

#FCF795 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.9% C 0.120 H 105.9°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#FCF795
RGBrgb(252, 247, 149)
HSLhsl(57, 94%, 79%)
HSVhsv(57, 41%, 99%)
CMYKcmyk(0%, 2%, 40.9%, 1.2%)
CIE-LABlab(95.74, -11.87, 47.62)
CIE-LCHlch(95.74, 49.08, 104.00°)
OKLaboklab(95.92% -0.0329 0.1155)
OKLCHoklch(95.92% 0.12 105.9)
XYZxyz(78.8319, 89.3888, 41.5290)
Luminance0.8939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF795 #959AFC
analogous
#FCC395 #FCF795 #CDFC95
triadic
#FCF795 #95FCF7 #F795FC
tetradic
#FCF795 #95FCC3 #959AFC #FC95CD
square
#FCF795 #95FCC3 #959AFC #FC95CD
split-complementary
#FCF795 #95CDFC #C395FC
monochromatic
#F9EE1E #FAF359 #FCF795 #FEFBD1 #FEFDE1

Accessibility & contrast

On white

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

On black

18.88
#FCF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF795
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF795#FFFFFF#000000##000000
##FCF7951.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf795;
/* rgb */ color: rgb(252, 247, 149);
/* oklch */ color: oklch(95.9% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff9b5',
    500: '#fcf795',
    950: '#000000',
  },
}
SCSS
$custom: #fcf795;
$custom-light: #fff9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf795",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 57.087,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95915,
    "c": 0.12006,
    "h": 105.9
  },
  "luminance": 0.89387
}

Semantic roles & 50–950 ramp

primary
#FCF795
secondary
#585FDD
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF795

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

Preview Lab → · Contrast checker → · Palette generator →

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