#FCF668#FCF668

#FCF668 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.161 H 106.8°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FCF668
RGBrgb(252, 246, 104)
HSLhsl(58, 96%, 70%)
HSVhsv(58, 59%, 99%)
CMYKcmyk(0%, 2.4%, 58.7%, 1.2%)
CIE-LABlab(95.00, -15.16, 67.26)
CIE-LCHlch(95.00, 68.95, 102.70°)
OKLaboklab(95.16% -0.0467 0.1544)
OKLCHoklch(95.16% 0.161 106.8)
XYZxyz(75.6018, 87.6088, 26.0218)
Luminance0.8761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF668 #686EFC
analogous
#FCAC68 #FCF668 #B8FC68
triadic
#FCF668 #68FCF6 #F668FC
tetradic
#FCF668 #68FCAC #686EFC #FC68B8
square
#FCF668 #68FCAC #686EFC #FC68B8
split-complementary
#FCF668 #68B8FC #AC68FC
monochromatic
#E5DC05 #FBF22C #FCF668 #FDFAA4 #FEFDE0

Accessibility & contrast

On white

1.13
#FCF668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#FCF668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF668
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF668#FFFFFF#000000##000000
##FCF6681.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF370
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf668;
/* rgb */ color: rgb(252, 246, 104);
/* oklch */ color: oklch(95.2% 0.161 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff898',
    500: '#fcf668',
    950: '#000000',
  },
}
SCSS
$custom: #fcf668;
$custom-light: #fff898;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf668",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 57.568,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95163,
    "c": 0.16129,
    "h": 106.8
  },
  "luminance": 0.87606
}

Semantic roles & 50–950 ramp

primary
#FCF668
secondary
#3138D7
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF668

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

Preview Lab → · Contrast checker → · Palette generator →

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