#FCED7B#FCED7B

#FCED7B is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.5% C 0.136 H 101.9°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#FCED7B
RGBrgb(252, 237, 123)
HSLhsl(53, 96%, 74%)
HSVhsv(53, 51%, 99%)
CMYKcmyk(0%, 6%, 51.2%, 1.2%)
CIE-LABlab(92.88, -9.33, 56.44)
CIE-LCHlch(92.88, 57.21, 99.38°)
OKLaboklab(93.54% -0.028 0.1332)
OKLCHoklch(93.54% 0.136 101.9)
XYZxyz(74.0065, 82.6964, 30.7987)
Luminance0.8269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCED7B #7B8AFC
analogous
#FCAC7B #FCED7B #CAFC7B
triadic
#FCED7B #7BFCED #ED7BFC
tetradic
#FCED7B #7BFCAC #7B8AFC #FC7BCA
square
#FCED7B #7BFCAC #7B8AFC #FC7BCA
split-complementary
#FCED7B #7BCAFC #AC7BFC
monochromatic
#F7DB06 #FBE53F #FCED7B #FDF5B7 #FEFBE1

Accessibility & contrast

On white

1.20
#FCED7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#FCED7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCED7B
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCED7B#FFFFFF#000000##000000
##FCED7B1.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE771
Deuteranopia (green-blind)
#FFEE80
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fced7b;
/* rgb */ color: rgb(252, 237, 123);
/* oklch */ color: oklch(93.5% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff2a4',
    500: '#fced7b',
    950: '#000000',
  },
}
SCSS
$custom: #fced7b;
$custom-light: #fff2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fced7b",
  "rgb": {
    "r": 252,
    "g": 237,
    "b": 123
  },
  "hsl": {
    "h": 53.023,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93542,
    "c": 0.13609,
    "h": 101.9
  },
  "luminance": 0.82694
}

Semantic roles & 50–950 ramp

primary
#FCED7B
secondary
#4253D9
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCED7B

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

Preview Lab → · Contrast checker → · Palette generator →

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