#FCEB74#FCEB74

#FCEB74 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.1% C 0.141 H 101.3°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#FCEB74
RGBrgb(252, 235, 116)
HSLhsl(53, 96%, 72%)
HSVhsv(53, 54%, 99%)
CMYKcmyk(0%, 6.7%, 54%, 1.2%)
CIE-LABlab(92.30, -8.89, 58.96)
CIE-LCHlch(92.30, 59.63, 98.58°)
OKLaboklab(93.06% -0.0275 0.138)
OKLCHoklch(93.06% 0.141 101.3)
XYZxyz(73.0080, 81.3758, 28.3810)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEB74 #7485FC
analogous
#FCA774 #FCEB74 #C9FC74
triadic
#FCEB74 #74FCEB #EB74FC
tetradic
#FCEB74 #74FCA7 #7485FC #FC74C9
square
#FCEB74 #74FCA7 #7485FC #FC74C9
split-complementary
#FCEB74 #74C9FC #A774FC
monochromatic
#F0D305 #FBE238 #FCEB74 #FDF4B0 #FEFBE1

Accessibility & contrast

On white

1.22
#FCEB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#FCEB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEB74
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEB74#FFFFFF#000000##000000
##FCEB741.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE569
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fceb74;
/* rgb */ color: rgb(252, 235, 116);
/* oklch */ color: oklch(93.1% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#fff19f',
    500: '#fceb74',
    950: '#000000',
  },
}
SCSS
$custom: #fceb74;
$custom-light: #fff19f;
$custom-dark: #000000;
JSON
{
  "hex": "#fceb74",
  "rgb": {
    "r": 252,
    "g": 235,
    "b": 116
  },
  "hsl": {
    "h": 52.5,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93055,
    "c": 0.14071,
    "h": 101.3
  },
  "luminance": 0.81373
}

Semantic roles & 50–950 ramp

primary
#FCEB74
secondary
#3C4FD8
accent
#1DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FCEB74

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

Preview Lab → · Contrast checker → · Palette generator →

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