#FCF68E#FCF68E

#FCF68E is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.126 H 105.6°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FCF68E
RGBrgb(252, 246, 142)
HSLhsl(57, 95%, 77%)
HSVhsv(57, 44%, 99%)
CMYKcmyk(0%, 2.4%, 43.7%, 1.2%)
CIE-LABlab(95.40, -12.07, 50.55)
CIE-LCHlch(95.40, 51.97, 103.43°)
OKLaboklab(95.61% -0.0341 0.1216)
OKLCHoklch(95.61% 0.126 105.6)
XYZxyz(77.9847, 88.5620, 38.5721)
Luminance0.8856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF68E #8E94FC
analogous
#FCBF8E #FCF68E #CBFC8E
triadic
#FCF68E #8EFCF6 #F68EFC
tetradic
#FCF68E #8EFCBF #8E94FC #FC8ECB
square
#FCF68E #8EFCBF #8E94FC #FC8ECB
split-complementary
#FCF68E #8ECBFC #BF8EFC
monochromatic
#F9ED17 #FAF152 #FCF68E #FEFBCA #FEFDE1

Accessibility & contrast

On white

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

On black

18.71
#FCF68E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF68E
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF68E#FFFFFF#000000##000000
##FCF68E1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF85
Deuteranopia (green-blind)
#FFF493
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf68e;
/* rgb */ color: rgb(252, 246, 142);
/* oklch */ color: oklch(95.6% 0.126 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff9b1',
    500: '#fcf68e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf68e;
$custom-light: #fff9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf68e",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 142
  },
  "hsl": {
    "h": 56.727,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.95611,
    "c": 0.12631,
    "h": 105.6
  },
  "luminance": 0.8856
}

Semantic roles & 50–950 ramp

primary
#FCF68E
secondary
#525ADC
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF68E

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

Preview Lab → · Contrast checker → · Palette generator →

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