#FCEF71#FCEF71

#FCEF71 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.147 H 103.4°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#FCEF71
RGBrgb(252, 239, 113)
HSLhsl(54, 96%, 72%)
HSVhsv(54, 55%, 99%)
CMYKcmyk(0%, 5.2%, 55.2%, 1.2%)
CIE-LABlab(93.29, -11.10, 61.45)
CIE-LCHlch(93.29, 62.44, 100.24°)
OKLaboklab(93.83% -0.0341 0.143)
OKLCHoklch(93.83% 0.147 103.4)
XYZxyz(73.9944, 83.6233, 27.8628)
Luminance0.8362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEF71 #717EFC
analogous
#FCA971 #FCEF71 #C4FC71
triadic
#FCEF71 #71FCEF #EF71FC
tetradic
#FCEF71 #71FCA9 #717EFC #FC71C4
square
#FCEF71 #71FCA9 #717EFC #FC71C4
split-complementary
#FCEF71 #71C4FC #A971FC
monochromatic
#EED805 #FBE835 #FCEF71 #FDF6AD #FEFCE1

Accessibility & contrast

On white

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

On black

17.72
#FCEF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEF71
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEF71#FFFFFF#000000##000000
##FCEF711.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcef71;
/* rgb */ color: rgb(252, 239, 113);
/* oklch */ color: oklch(93.8% 0.147 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#fcef71',
    950: '#000000',
  },
}
SCSS
$custom: #fcef71;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcef71",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 113
  },
  "hsl": {
    "h": 54.388,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9383,
    "c": 0.14705,
    "h": 103.4
  },
  "luminance": 0.83621
}

Semantic roles & 50–950 ramp

primary
#FCEF71
secondary
#3948D8
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCEF71

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

Preview Lab → · Contrast checker → · Palette generator →

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