#FCF770#FCF770

#FCF770 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.4% C 0.156 H 107.0°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FCF770
RGBrgb(252, 247, 112)
HSLhsl(58, 96%, 71%)
HSVhsv(58, 56%, 99%)
CMYKcmyk(0%, 2%, 55.6%, 1.2%)
CIE-LABlab(95.32, -15.09, 64.20)
CIE-LCHlch(95.32, 65.95, 103.23°)
OKLaboklab(95.45% -0.0456 0.1488)
OKLCHoklch(95.45% 0.156 107)
XYZxyz(76.3325, 88.3891, 28.3659)
Luminance0.8839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF770 #7075FC
analogous
#FCB170 #FCF770 #BBFC70
triadic
#FCF770 #70FCF7 #F770FC
tetradic
#FCF770 #70FCB1 #7075FC #FC70BB
square
#FCF770 #70FCB1 #7075FC #FC70BB
split-complementary
#FCF770 #70BBFC #B170FC
monochromatic
#EDE405 #FBF434 #FCF770 #FDFAAC #FEFDE1

Accessibility & contrast

On white

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

On black

18.68
#FCF770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF770
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF770#FFFFFF#000000##000000
##FCF7701.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf770;
/* rgb */ color: rgb(252, 247, 112);
/* oklch */ color: oklch(95.4% 0.156 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#fcf770',
    950: '#000000',
  },
}
SCSS
$custom: #fcf770;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf770",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 112
  },
  "hsl": {
    "h": 57.857,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95447,
    "c": 0.15567,
    "h": 107
  },
  "luminance": 0.88387
}

Semantic roles & 50–950 ramp

primary
#FCF770
secondary
#383ED8
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF770

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

Preview Lab → · Contrast checker → · Palette generator →

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