#FCF78E#FCF78E

#FCF78E is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.8% C 0.127 H 106.2°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#FCF78E
RGBrgb(252, 247, 142)
HSLhsl(57, 95%, 77%)
HSVhsv(57, 44%, 99%)
CMYKcmyk(0%, 2%, 43.7%, 1.2%)
CIE-LABlab(95.65, -12.56, 50.87)
CIE-LCHlch(95.65, 52.39, 103.87°)
OKLaboklab(95.81% -0.0355 0.1223)
OKLCHoklch(95.81% 0.127 106.2)
XYZxyz(78.2897, 89.1719, 38.6737)
Luminance0.8917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF78E #8E93FC
analogous
#FCC08E #FCF78E #CAFC8E
triadic
#FCF78E #8EFCF7 #F78EFC
tetradic
#FCF78E #8EFCC0 #8E93FC #FC8ECA
square
#FCF78E #8EFCC0 #8E93FC #FC8ECA
split-complementary
#FCF78E #8ECAFC #C08EFC
monochromatic
#F9EF17 #FAF352 #FCF78E #FEFBCA #FEFDE1

Accessibility & contrast

On white

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

On black

18.83
#FCF78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF78E
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF78E#FFFFFF#000000##000000
##FCF78E1.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF085
Deuteranopia (green-blind)
#FFF593
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf78e;
/* rgb */ color: rgb(252, 247, 142);
/* oklch */ color: oklch(95.8% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff9b1',
    500: '#fcf78e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf78e;
$custom-light: #fff9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf78e",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 57.273,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.95814,
    "c": 0.12738,
    "h": 106.2
  },
  "luminance": 0.8917
}

Semantic roles & 50–950 ramp

primary
#FCF78E
secondary
#5258DC
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF78E

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

Preview Lab → · Contrast checker → · Palette generator →

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