#FCF68F#FCF68F

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

Color values

HEX#FCF68F
RGBrgb(252, 246, 143)
HSLhsl(57, 95%, 77%)
HSVhsv(57, 43%, 99%)
CMYKcmyk(0%, 2.4%, 43.3%, 1.2%)
CIE-LABlab(95.41, -11.98, 50.09)
CIE-LCHlch(95.41, 51.50, 103.45°)
OKLaboklab(95.63% -0.0337 0.1207)
OKLCHoklch(95.63% 0.125 105.6)
XYZxyz(78.0601, 88.5922, 38.9693)
Luminance0.8859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF68F #8F95FC
analogous
#FCBF8F #FCF68F #CCFC8F
triadic
#FCF68F #8FFCF6 #F68FFC
tetradic
#FCF68F #8FFCBF #8F95FC #FC8FCC
square
#FCF68F #8FFCBF #8F95FC #FC8FCC
split-complementary
#FCF68F #8FCCFC #BF8FFC
monochromatic
#F9EC18 #FAF153 #FCF68F #FEFBCB #FEFDE1

Accessibility & contrast

On white

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

On black

18.72
#FCF68F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF68F
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF68F#FFFFFF#000000##000000
##FCF68F1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf68f;
/* rgb */ color: rgb(252, 246, 143);
/* oklch */ color: oklch(95.6% 0.125 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff9b1',
    500: '#fcf68f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf68f;
$custom-light: #fff9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf68f",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 143
  },
  "hsl": {
    "h": 56.697,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95626,
    "c": 0.12528,
    "h": 105.6
  },
  "luminance": 0.8859
}

Semantic roles & 50–950 ramp

primary
#FCF68F
secondary
#535BDC
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF68F

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

Preview Lab → · Contrast checker → · Palette generator →

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