#FCEF7C#FCEF7C

#FCEF7C is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 94.0% C 0.137 H 102.9°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#FCEF7C
RGBrgb(252, 239, 124)
HSLhsl(54, 96%, 74%)
HSVhsv(54, 51%, 99%)
CMYKcmyk(0%, 5.2%, 50.8%, 1.2%)
CIE-LABlab(93.40, -10.23, 56.59)
CIE-LCHlch(93.40, 57.51, 100.25°)
OKLaboklab(93.96% -0.0305 0.1336)
OKLCHoklch(93.96% 0.137 102.9)
XYZxyz(74.6516, 83.8862, 31.3242)
Luminance0.8388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEF7C #7C89FC
analogous
#FCAF7C #FCEF7C #C9FC7C
triadic
#FCEF7C #7CFCEF #EF7CFC
tetradic
#FCEF7C #7CFCAF #7C89FC #FC7CC9
square
#FCEF7C #7CFCAF #7C89FC #FC7CC9
split-complementary
#FCEF7C #7CC9FC #AF7CFC
monochromatic
#F8DF06 #FBE840 #FCEF7C #FDF6B8 #FEFBE1

Accessibility & contrast

On white

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

On black

17.78
#FCEF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEF7C
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEF7C#FFFFFF#000000##000000
##FCEF7C1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE872
Deuteranopia (green-blind)
#FFEF81
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcef7c;
/* rgb */ color: rgb(252, 239, 124);
/* oklch */ color: oklch(94.0% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff4a4',
    500: '#fcef7c',
    950: '#000000',
  },
}
SCSS
$custom: #fcef7c;
$custom-light: #fff4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcef7c",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 124
  },
  "hsl": {
    "h": 53.906,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93957,
    "c": 0.13704,
    "h": 102.9
  },
  "luminance": 0.83884
}

Semantic roles & 50–950 ramp

primary
#FCEF7C
secondary
#4352DA
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCEF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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