#FCED8F#FCED8F

#FCED8F is a very light, moderate yellow. Relative luminance 0.832; OKLCH L 93.8% C 0.116 H 100.4°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#FCED8F
RGBrgb(252, 237, 143)
HSLhsl(52, 95%, 77%)
HSVhsv(52, 43%, 99%)
CMYKcmyk(0%, 6%, 43.3%, 1.2%)
CIE-LABlab(93.12, -7.53, 47.24)
CIE-LCHlch(93.12, 47.83, 99.05°)
OKLaboklab(93.81% -0.0209 0.1143)
OKLCHoklch(93.81% 0.116 100.4)
XYZxyz(75.3887, 83.2494, 38.0788)
Luminance0.8325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCED8F #8F9EFC
analogous
#FCB68F #FCED8F #D5FC8F
triadic
#FCED8F #8FFCED #ED8FFC
tetradic
#FCED8F #8FFCB6 #8F9EFC #FC8FD5
square
#FCED8F #8FFCB6 #8F9EFC #FC8FD5
split-complementary
#FCED8F #8FD5FC #B68FFC
monochromatic
#F9DA18 #FAE353 #FCED8F #FEF7CB #FEFAE1

Accessibility & contrast

On white

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

On black

17.65
#FCED8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCED8F
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCED8F#FFFFFF#000000##000000
##FCED8F1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE888
Deuteranopia (green-blind)
#FFEE93
Tritanopia (blue-blind)
#FFE1D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fced8f;
/* rgb */ color: rgb(252, 237, 143);
/* oklch */ color: oklch(93.8% 0.116 100.4);
Tailwind
colors: {
  custom: {
    50: '#fff2b1',
    500: '#fced8f',
    950: '#000000',
  },
}
SCSS
$custom: #fced8f;
$custom-light: #fff2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fced8f",
  "rgb": {
    "r": 252,
    "g": 237,
    "b": 143
  },
  "hsl": {
    "h": 51.743,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93812,
    "c": 0.11616,
    "h": 100.4
  },
  "luminance": 0.83247
}

Semantic roles & 50–950 ramp

primary
#FCED8F
secondary
#5366DC
accent
#20E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FCED8F

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

Preview Lab → · Contrast checker → · Palette generator →

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