#FCF98C#FCF98C

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

Color values

HEX#FCF98C
RGBrgb(252, 249, 140)
HSLhsl(58, 95%, 77%)
HSVhsv(58, 44%, 99%)
CMYKcmyk(0%, 1.2%, 44.4%, 1.2%)
CIE-LABlab(96.14, -13.73, 52.41)
CIE-LCHlch(96.14, 54.18, 104.68°)
OKLaboklab(96.19% -0.039 0.1257)
OKLCHoklch(96.19% 0.132 107.2)
XYZxyz(78.7558, 90.3422, 38.0950)
Luminance0.9034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF98C #8C8FFC
analogous
#FCC18C #FCF98C #C7FC8C
triadic
#FCF98C #8CFCF9 #F98CFC
tetradic
#FCF98C #8CFCC1 #8C8FFC #FC8CC7
square
#FCF98C #8CFCC1 #8C8FFC #FC8CC7
split-complementary
#FCF98C #8CC7FC #C18CFC
monochromatic
#F9F315 #FAF650 #FCF98C #FEFCC8 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF98C#FFFFFF#000000##000000
##FCF98C1.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)
#FFF183
Deuteranopia (green-blind)
#FFF691
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf98c;
/* rgb */ color: rgb(252, 249, 140);
/* oklch */ color: oklch(96.2% 0.132 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffbaf',
    500: '#fcf98c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf98c;
$custom-light: #fffbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf98c",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 140
  },
  "hsl": {
    "h": 58.393,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96193,
    "c": 0.13156,
    "h": 107.2
  },
  "luminance": 0.9034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF98C

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

Preview Lab → · Contrast checker → · Palette generator →

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