#FCED98#FCED98

#FCED98 is a very light, moderate yellow. Relative luminance 0.835; OKLCH L 94.0% C 0.107 H 99.5°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#FCED98
RGBrgb(252, 237, 152)
HSLhsl(51, 94%, 79%)
HSVhsv(51, 40%, 99%)
CMYKcmyk(0%, 6%, 39.7%, 1.2%)
CIE-LABlab(93.25, -6.61, 42.98)
CIE-LCHlch(93.25, 43.49, 98.74°)
OKLaboklab(93.95% -0.0175 0.1051)
OKLCHoklch(93.95% 0.107 99.5)
XYZxyz(76.0981, 83.5331, 41.8146)
Luminance0.8353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCED98 #98A7FC
analogous
#FCBB98 #FCED98 #D9FC98
triadic
#FCED98 #98FCED #ED98FC
tetradic
#FCED98 #98FCBB #98A7FC #FC98D9
square
#FCED98 #98FCBB #98A7FC #FC98D9
split-complementary
#FCED98 #98D9FC #BB98FC
monochromatic
#F9D821 #FAE35D #FCED98 #FEF7D3 #FEFAE1

Accessibility & contrast

On white

1.19
#FCED98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#FCED98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCED98
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCED98#FFFFFF#000000##000000
##FCED981.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE892
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#FFE2D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fced98;
/* rgb */ color: rgb(252, 237, 152);
/* oklch */ color: oklch(94.0% 0.107 99.5);
Tailwind
colors: {
  custom: {
    50: '#fff2b7',
    500: '#fced98',
    950: '#000000',
  },
}
SCSS
$custom: #fced98;
$custom-light: #fff2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fced98",
  "rgb": {
    "r": 252,
    "g": 237,
    "b": 152
  },
  "hsl": {
    "h": 51,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.9395,
    "c": 0.10654,
    "h": 99.5
  },
  "luminance": 0.83531
}

Semantic roles & 50–950 ramp

primary
#FCED98
secondary
#5B6EDD
accent
#22E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FCED98

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

Preview Lab → · Contrast checker → · Palette generator →

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