#FCF98E#FCF98E

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

Color values

HEX#FCF98E
RGBrgb(252, 249, 142)
HSLhsl(58, 95%, 77%)
HSVhsv(58, 44%, 99%)
CMYKcmyk(0%, 1.2%, 43.7%, 1.2%)
CIE-LABlab(96.16, -13.54, 51.50)
CIE-LCHlch(96.16, 53.25, 104.73°)
OKLaboklab(96.22% -0.0383 0.1238)
OKLCHoklch(96.22% 0.13 107.2)
XYZxyz(78.9046, 90.4017, 38.8787)
Luminance0.9040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF98E #8E91FC
analogous
#FCC28E #FCF98E #C8FC8E
triadic
#FCF98E #8EFCF9 #F98EFC
tetradic
#FCF98E #8EFCC2 #8E91FC #FC8EC8
square
#FCF98E #8EFCC2 #8E91FC #FC8EC8
split-complementary
#FCF98E #8EC8FC #C28EFC
monochromatic
#F9F317 #FAF652 #FCF98E #FEFCCA #FEFDE1

Accessibility & contrast

On white

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

On black

19.08
#FCF98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF98E
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF98E#FFFFFF#000000##000000
##FCF98E1.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF185
Deuteranopia (green-blind)
#FFF693
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf98e;
/* rgb */ color: rgb(252, 249, 142);
/* oklch */ color: oklch(96.2% 0.130 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffbb1',
    500: '#fcf98e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf98e;
$custom-light: #fffbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf98e",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 58.364,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.9622,
    "c": 0.12954,
    "h": 107.2
  },
  "luminance": 0.904
}

Semantic roles & 50–950 ramp

primary
#FCF98E
secondary
#5256DC
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF98E

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

Preview Lab → · Contrast checker → · Palette generator →

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