#FCF98D#FCF98D

#FCF98D is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.2% C 0.131 H 107.2°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#FCF98D
RGBrgb(252, 249, 141)
HSLhsl(58, 95%, 77%)
HSVhsv(58, 44%, 99%)
CMYKcmyk(0%, 1.2%, 44%, 1.2%)
CIE-LABlab(96.15, -13.64, 51.96)
CIE-LCHlch(96.15, 53.72, 104.71°)
OKLaboklab(96.21% -0.0386 0.1247)
OKLCHoklch(96.21% 0.131 107.2)
XYZxyz(78.8298, 90.3718, 38.4851)
Luminance0.9037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF98D #8D90FC
analogous
#FCC18D #FCF98D #C8FC8D
triadic
#FCF98D #8DFCF9 #F98DFC
tetradic
#FCF98D #8DFCC1 #8D90FC #FC8DC8
square
#FCF98D #8DFCC1 #8D90FC #FC8DC8
split-complementary
#FCF98D #8DC8FC #C18DFC
monochromatic
#F9F316 #FAF651 #FCF98D #FEFCC9 #FEFDE1

Accessibility & contrast

On white

1.10
#FCF98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.07
#FCF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF98D
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF98D#FFFFFF#000000##000000
##FCF98D1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF184
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf98d;
/* rgb */ color: rgb(252, 249, 141);
/* oklch */ color: oklch(96.2% 0.131 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffbb0',
    500: '#fcf98d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf98d;
$custom-light: #fffbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf98d",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 58.378,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96206,
    "c": 0.13055,
    "h": 107.2
  },
  "luminance": 0.9037
}

Semantic roles & 50–950 ramp

primary
#FCF98D
secondary
#5155DC
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FCF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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