#FCED97#FCED97

#FCED97 is a very light, moderate yellow. Relative luminance 0.835; OKLCH L 93.9% C 0.108 H 99.6°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#FCED97
RGBrgb(252, 237, 151)
HSLhsl(51, 94%, 79%)
HSVhsv(51, 40%, 99%)
CMYKcmyk(0%, 6%, 40.1%, 1.2%)
CIE-LABlab(93.23, -6.72, 43.46)
CIE-LCHlch(93.23, 43.97, 98.79°)
OKLaboklab(93.93% -0.0179 0.1061)
OKLCHoklch(93.93% 0.108 99.6)
XYZxyz(76.0165, 83.5005, 41.3851)
Luminance0.8350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCED97 #97A6FC
analogous
#FCBB97 #FCED97 #D9FC97
triadic
#FCED97 #97FCED #ED97FC
tetradic
#FCED97 #97FCBB #97A6FC #FC97D9
square
#FCED97 #97FCBB #97A6FC #FC97D9
split-complementary
#FCED97 #97D9FC #BB97FC
monochromatic
#F9D820 #FAE35C #FCED97 #FEF7D2 #FEFAE1

Accessibility & contrast

On white

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

On black

17.70
#FCED97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCED97
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCED97#FFFFFF#000000##000000
##FCED971.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fced97;
/* rgb */ color: rgb(252, 237, 151);
/* oklch */ color: oklch(93.9% 0.108 99.6);
Tailwind
colors: {
  custom: {
    50: '#fff2b6',
    500: '#fced97',
    950: '#000000',
  },
}
SCSS
$custom: #fced97;
$custom-light: #fff2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fced97",
  "rgb": {
    "r": 252,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 51.089,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93934,
    "c": 0.10763,
    "h": 99.6
  },
  "luminance": 0.83498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCED97

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

Preview Lab → · Contrast checker → · Palette generator →

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