#FCEF7A#FCEF7A

#FCEF7A is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.139 H 103.0°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#FCEF7A
RGBrgb(252, 239, 122)
HSLhsl(54, 96%, 73%)
HSVhsv(54, 52%, 99%)
CMYKcmyk(0%, 5.2%, 51.6%, 1.2%)
CIE-LABlab(93.38, -10.40, 57.49)
CIE-LCHlch(93.38, 58.42, 100.25°)
OKLaboklab(93.93% -0.0312 0.1354)
OKLCHoklch(93.93% 0.139 103)
XYZxyz(74.5264, 83.8361, 30.6648)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEF7A #7A87FC
analogous
#FCAE7A #FCEF7A #C8FC7A
triadic
#FCEF7A #7AFCEF #EF7AFC
tetradic
#FCEF7A #7AFCAE #7A87FC #FC7AC8
square
#FCEF7A #7AFCAE #7A87FC #FC7AC8
split-complementary
#FCEF7A #7AC8FC #AE7AFC
monochromatic
#F6DE06 #FBE83E #FCEF7A #FDF6B6 #FEFBE1

Accessibility & contrast

On white

1.18
#FCEF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#FCEF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEF7A
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEF7A#FFFFFF#000000##000000
##FCEF7A1.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcef7a;
/* rgb */ color: rgb(252, 239, 122);
/* oklch */ color: oklch(93.9% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff4a3',
    500: '#fcef7a',
    950: '#000000',
  },
}
SCSS
$custom: #fcef7a;
$custom-light: #fff4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcef7a",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 54,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93933,
    "c": 0.13892,
    "h": 103
  },
  "luminance": 0.83834
}

Semantic roles & 50–950 ramp

primary
#FCEF7A
secondary
#4150D9
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCEF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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