#FCF568#FCF568

#FCF568 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.160 H 106.4°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FCF568
RGBrgb(252, 245, 104)
HSLhsl(57, 96%, 70%)
HSVhsv(57, 59%, 99%)
CMYKcmyk(0%, 2.8%, 58.7%, 1.2%)
CIE-LABlab(94.74, -14.67, 66.98)
CIE-LCHlch(94.74, 68.56, 102.36°)
OKLaboklab(94.96% -0.0453 0.1538)
OKLCHoklch(94.96% 0.16 106.4)
XYZxyz(75.2984, 87.0021, 25.9207)
Luminance0.8700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF568 #686FFC
analogous
#FCAB68 #FCF568 #B9FC68
triadic
#FCF568 #68FCF5 #F568FC
tetradic
#FCF568 #68FCAB #686FFC #FC68B9
square
#FCF568 #68FCAB #686FFC #FC68B9
split-complementary
#FCF568 #68B9FC #AB68FC
monochromatic
#E5DA05 #FBF12C #FCF568 #FDF9A4 #FEFDE0

Accessibility & contrast

On white

1.14
#FCF568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#FCF568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF568
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF568#FFFFFF#000000##000000
##FCF5681.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf568;
/* rgb */ color: rgb(252, 245, 104);
/* oklch */ color: oklch(95.0% 0.160 106.4);
Tailwind
colors: {
  custom: {
    50: '#fff898',
    500: '#fcf568',
    950: '#000000',
  },
}
SCSS
$custom: #fcf568;
$custom-light: #fff898;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf568",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 104
  },
  "hsl": {
    "h": 57.162,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94958,
    "c": 0.16032,
    "h": 106.4
  },
  "luminance": 0.87
}

Semantic roles & 50–950 ramp

primary
#FCF568
secondary
#3139D7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF568

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

Preview Lab → · Contrast checker → · Palette generator →

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