#FCE581#FCE581

#FCE581 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 92.0% C 0.123 H 96.7°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#FCE581
RGBrgb(252, 229, 129)
HSLhsl(49, 95%, 75%)
HSVhsv(49, 49%, 99%)
CMYKcmyk(0%, 9.1%, 48.8%, 1.2%)
CIE-LABlab(90.93, -4.83, 51.27)
CIE-LCHlch(90.93, 51.50, 95.38°)
OKLaboklab(92.02% -0.0144 0.1223)
OKLCHoklch(92.02% 0.123 96.7)
XYZxyz(72.1289, 78.3219, 32.0829)
Luminance0.7832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE581 #8198FC
analogous
#FCA781 #FCE581 #D6FC81
triadic
#FCE581 #81FCE5 #E581FC
tetradic
#FCE581 #81FCA7 #8198FC #FC81D6
square
#FCE581 #81FCA7 #8198FC #FC81D6
split-complementary
#FCE581 #81D6FC #A781FC
monochromatic
#F9CC09 #FBD945 #FCE581 #FDF1BD #FEF9E1

Accessibility & contrast

On white

1.26
#FCE581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#FCE581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE581
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE581#FFFFFF#000000##000000
##FCE5811.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E178
Deuteranopia (green-blind)
#FDE885
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #fce581;
/* rgb */ color: rgb(252, 229, 129);
/* oklch */ color: oklch(92.0% 0.123 96.7);
Tailwind
colors: {
  custom: {
    50: '#ffeda7',
    500: '#fce581',
    950: '#000000',
  },
}
SCSS
$custom: #fce581;
$custom-light: #ffeda7;
$custom-dark: #000000;
JSON
{
  "hex": "#fce581",
  "rgb": {
    "r": 252,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 48.78,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92015,
    "c": 0.12318,
    "h": 96.7
  },
  "luminance": 0.78319
}

Semantic roles & 50–950 ramp

primary
#FCE581
secondary
#4762DA
accent
#2BE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #FCE581

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

Preview Lab → · Contrast checker → · Palette generator →

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