#FCF78A#FCF78A

#FCF78A is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.8% C 0.131 H 106.3°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#FCF78A
RGBrgb(252, 247, 138)
HSLhsl(57, 95%, 76%)
HSVhsv(57, 45%, 99%)
CMYKcmyk(0%, 2%, 45.2%, 1.2%)
CIE-LABlab(95.60, -12.94, 52.70)
CIE-LCHlch(95.60, 54.27, 103.79°)
OKLaboklab(95.76% -0.0369 0.1262)
OKLCHoklch(95.76% 0.131 106.3)
XYZxyz(77.9948, 89.0540, 37.1204)
Luminance0.8905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF78A #8A8FFC
analogous
#FCBE8A #FCF78A #C8FC8A
triadic
#FCF78A #8AFCF7 #F78AFC
tetradic
#FCF78A #8AFCBE #8A8FFC #FC8AC8
square
#FCF78A #8AFCBE #8A8FFC #FC8AC8
split-complementary
#FCF78A #8AC8FC #BE8AFC
monochromatic
#F9EF13 #FAF34E #FCF78A #FEFBC6 #FEFDE1

Accessibility & contrast

On white

1.12
#FCF78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#FCF78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF78A
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF78A#FFFFFF#000000##000000
##FCF78A1.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF081
Deuteranopia (green-blind)
#FFF58F
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf78a;
/* rgb */ color: rgb(252, 247, 138);
/* oklch */ color: oklch(95.8% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff9ae',
    500: '#fcf78a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf78a;
$custom-light: #fff9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf78a",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 138
  },
  "hsl": {
    "h": 57.368,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95759,
    "c": 0.13145,
    "h": 106.3
  },
  "luminance": 0.89052
}

Semantic roles & 50–950 ramp

primary
#FCF78A
secondary
#4F55DC
accent
#0AE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF78A

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

Preview Lab → · Contrast checker → · Palette generator →

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