#FCE271#FCE271

#FCE271 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.2% C 0.136 H 96.6°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#FCE271
RGBrgb(252, 226, 113)
HSLhsl(49, 96%, 72%)
HSVhsv(49, 55%, 99%)
CMYKcmyk(0%, 10.3%, 55.2%, 1.2%)
CIE-LABlab(89.99, -4.63, 57.65)
CIE-LCHlch(89.99, 57.84, 94.59°)
OKLaboklab(91.22% -0.0156 0.1349)
OKLCHoklch(91.22% 0.136 96.6)
XYZxyz(70.3245, 76.2835, 26.6395)
Luminance0.7628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE271 #718BFC
analogous
#FC9D71 #FCE271 #D1FC71
triadic
#FCE271 #71FCE2 #E271FC
tetradic
#FCE271 #71FC9D #718BFC #FC71D1
square
#FCE271 #71FC9D #718BFC #FC71D1
split-complementary
#FCE271 #71D1FC #9D71FC
monochromatic
#EEC205 #FBD635 #FCE271 #FDEEAD #FEF9E1

Accessibility & contrast

On white

1.29
#FCE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#FCE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE271
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE271#FFFFFF#000000##000000
##FCE2711.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fce271;
/* rgb */ color: rgb(252, 226, 113);
/* oklch */ color: oklch(91.2% 0.136 96.6);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fce271',
    950: '#000000',
  },
}
SCSS
$custom: #fce271;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fce271",
  "rgb": {
    "r": 252,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 48.777,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91216,
    "c": 0.13574,
    "h": 96.6
  },
  "luminance": 0.7628
}

Semantic roles & 50–950 ramp

primary
#FCE271
secondary
#3957D8
accent
#2BE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FCE271

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

Preview Lab → · Contrast checker → · Palette generator →

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