#FCE474#FCE474

#FCE474 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.7% C 0.135 H 97.5°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#FCE474
RGBrgb(252, 228, 116)
HSLhsl(49, 96%, 72%)
HSVhsv(49, 54%, 99%)
CMYKcmyk(0%, 9.5%, 54%, 1.2%)
CIE-LABlab(90.53, -5.40, 56.90)
CIE-LCHlch(90.53, 57.16, 95.42°)
OKLaboklab(91.65% -0.0175 0.1335)
OKLCHoklch(91.65% 0.135 97.5)
XYZxyz(71.0432, 77.4462, 27.7260)
Luminance0.7744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE474 #748CFC
analogous
#FCA074 #FCE474 #D0FC74
triadic
#FCE474 #74FCE4 #E474FC
tetradic
#FCE474 #74FCA0 #748CFC #FC74D0
square
#FCE474 #74FCA0 #748CFC #FC74D0
split-complementary
#FCE474 #74D0FC #A074FC
monochromatic
#F0C705 #FBD838 #FCE474 #FDF0B0 #FEF9E1

Accessibility & contrast

On white

1.27
#FCE474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#FCE474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE474
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE474#FFFFFF#000000##000000
##FCE4741.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF69
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fce474;
/* rgb */ color: rgb(252, 228, 116);
/* oklch */ color: oklch(91.7% 0.135 97.5);
Tailwind
colors: {
  custom: {
    50: '#ffec9f',
    500: '#fce474',
    950: '#000000',
  },
}
SCSS
$custom: #fce474;
$custom-light: #ffec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fce474",
  "rgb": {
    "r": 252,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 49.412,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91651,
    "c": 0.13466,
    "h": 97.5
  },
  "luminance": 0.77443
}

Semantic roles & 50–950 ramp

primary
#FCE474
secondary
#3C57D8
accent
#28E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FCE474

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

Preview Lab → · Contrast checker → · Palette generator →

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