#FCE771#FCE771

#FCE771 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.2% C 0.140 H 99.4°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#FCE771
RGBrgb(252, 231, 113)
HSLhsl(51, 96%, 72%)
HSVhsv(51, 55%, 99%)
CMYKcmyk(0%, 8.3%, 55.2%, 1.2%)
CIE-LABlab(91.25, -7.13, 59.12)
CIE-LCHlch(91.25, 59.54, 96.88°)
OKLaboklab(92.22% -0.0228 0.138)
OKLCHoklch(92.22% 0.14 99.4)
XYZxyz(71.7040, 79.0424, 27.0993)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE771 #7186FC
analogous
#FCA271 #FCE771 #CCFC71
triadic
#FCE771 #71FCE7 #E771FC
tetradic
#FCE771 #71FCA2 #7186FC #FC71CC
square
#FCE771 #71FCA2 #7186FC #FC71CC
split-complementary
#FCE771 #71CCFC #A271FC
monochromatic
#EECA05 #FBDD35 #FCE771 #FDF1AD #FEFAE1

Accessibility & contrast

On white

1.25
#FCE771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#FCE771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE771
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE771#FFFFFF#000000##000000
##FCE7711.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE165
Deuteranopia (green-blind)
#FFE976
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fce771;
/* rgb */ color: rgb(252, 231, 113);
/* oklch */ color: oklch(92.2% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#ffee9d',
    500: '#fce771',
    950: '#000000',
  },
}
SCSS
$custom: #fce771;
$custom-light: #ffee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fce771",
  "rgb": {
    "r": 252,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 50.935,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92216,
    "c": 0.13988,
    "h": 99.4
  },
  "luminance": 0.7904
}

Semantic roles & 50–950 ramp

primary
#FCE771
secondary
#3951D8
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FCE771

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

Preview Lab → · Contrast checker → · Palette generator →

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