#FCF868#FCF868

#FCF868 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.6% C 0.163 H 107.6°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FCF868
RGBrgb(252, 248, 104)
HSLhsl(58, 96%, 70%)
HSVhsv(58, 59%, 99%)
CMYKcmyk(0%, 1.6%, 58.7%, 1.2%)
CIE-LABlab(95.51, -16.13, 67.82)
CIE-LCHlch(95.51, 69.71, 103.38°)
OKLaboklab(95.57% -0.0494 0.1556)
OKLCHoklch(95.57% 0.163 107.6)
XYZxyz(76.2134, 88.8320, 26.2256)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF868 #686CFC
analogous
#FCAE68 #FCF868 #B6FC68
triadic
#FCF868 #68FCF8 #F868FC
tetradic
#FCF868 #68FCAE #686CFC #FC68B6
square
#FCF868 #68FCAE #686CFC #FC68B6
split-complementary
#FCF868 #68B6FC #AE68FC
monochromatic
#E5DF05 #FBF52C #FCF868 #FDFBA4 #FEFEE0

Accessibility & contrast

On white

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

On black

18.77
#FCF868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF868
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF868#FFFFFF#000000##000000
##FCF8681.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf868;
/* rgb */ color: rgb(252, 248, 104);
/* oklch */ color: oklch(95.6% 0.163 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffa98',
    500: '#fcf868',
    950: '#000000',
  },
}
SCSS
$custom: #fcf868;
$custom-light: #fffa98;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf868",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 104
  },
  "hsl": {
    "h": 58.378,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95572,
    "c": 0.16325,
    "h": 107.6
  },
  "luminance": 0.8883
}

Semantic roles & 50–950 ramp

primary
#FCF868
secondary
#3136D7
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF868

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

Preview Lab → · Contrast checker → · Palette generator →

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