#FCF775#FCF775

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

Color values

HEX#FCF775
RGBrgb(252, 247, 117)
HSLhsl(58, 96%, 72%)
HSVhsv(58, 54%, 99%)
CMYKcmyk(0%, 2%, 53.6%, 1.2%)
CIE-LABlab(95.37, -14.72, 62.06)
CIE-LCHlch(95.37, 63.78, 103.34°)
OKLaboklab(95.5% -0.0441 0.1448)
OKLCHoklch(95.5% 0.151 106.9)
XYZxyz(76.6187, 88.5035, 29.8730)
Luminance0.8850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF775 #757AFC
analogous
#FCB475 #FCF775 #BDFC75
triadic
#FCF775 #75FCF7 #F775FC
tetradic
#FCF775 #75FCB4 #757AFC #FC75BD
square
#FCF775 #75FCB4 #757AFC #FC75BD
split-complementary
#FCF775 #75BDFC #B475FC
monochromatic
#F1E905 #FBF439 #FCF775 #FDFAB1 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF775#FFFFFF#000000##000000
##FCF7751.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)
#FFEF68
Deuteranopia (green-blind)
#FFF47C
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf775;
/* rgb */ color: rgb(252, 247, 117);
/* oklch */ color: oklch(95.5% 0.151 106.9);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fcf775',
    950: '#000000',
  },
}
SCSS
$custom: #fcf775;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf775",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 57.778,
    "s": 95.745,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95501,
    "c": 0.15134,
    "h": 106.9
  },
  "luminance": 0.88501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF775

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

Preview Lab → · Contrast checker → · Palette generator →

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