#FCF774#FCF774

#FCF774 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.152 H 107.0°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#FCF774
RGBrgb(252, 247, 116)
HSLhsl(58, 96%, 72%)
HSVhsv(58, 54%, 99%)
CMYKcmyk(0%, 2%, 54%, 1.2%)
CIE-LABlab(95.36, -14.79, 62.49)
CIE-LCHlch(95.36, 64.22, 103.32°)
OKLaboklab(95.49% -0.0444 0.1456)
OKLCHoklch(95.49% 0.152 107)
XYZxyz(76.5602, 88.4801, 29.5650)
Luminance0.8848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF774 #7479FC
analogous
#FCB374 #FCF774 #BDFC74
triadic
#FCF774 #74FCF7 #F774FC
tetradic
#FCF774 #74FCB3 #7479FC #FC74BD
square
#FCF774 #74FCB3 #7479FC #FC74BD
split-complementary
#FCF774 #74BDFC #B374FC
monochromatic
#F0E805 #FBF438 #FCF774 #FDFAB0 #FEFDE1

Accessibility & contrast

On white

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

On black

18.70
#FCF774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF774
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF774#FFFFFF#000000##000000
##FCF7741.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF67
Deuteranopia (green-blind)
#FFF47B
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf774;
/* rgb */ color: rgb(252, 247, 116);
/* oklch */ color: oklch(95.5% 0.152 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fcf774',
    950: '#000000',
  },
}
SCSS
$custom: #fcf774;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf774",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 57.794,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9549,
    "c": 0.15221,
    "h": 107
  },
  "luminance": 0.88478
}

Semantic roles & 50–950 ramp

primary
#FCF774
secondary
#3C41D8
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF774

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

Preview Lab → · Contrast checker → · Palette generator →

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