#FEFC71#FEFC71

#FEFC71 is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.6% C 0.160 H 108.3°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#FEFC71
RGBrgb(254, 252, 113)
HSLhsl(59, 99%, 72%)
HSVhsv(59, 56%, 100%)
CMYKcmyk(0%, 0.8%, 55.5%, 0.4%)
CIE-LABlab(96.77, -16.65, 65.45)
CIE-LCHlch(96.77, 67.53, 104.27°)
OKLaboklab(96.64% -0.0501 0.1516)
OKLCHoklch(96.64% 0.16 108.3)
XYZxyz(78.6663, 91.8861, 29.2115)
Luminance0.9188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC71 #7173FE
analogous
#FEB671 #FEFC71 #BAFE71
triadic
#FEFC71 #71FEFC #FC71FE
tetradic
#FEFC71 #71FEB6 #7173FE #FE71BA
square
#FEFC71 #71FEB6 #7173FE #FE71BA
split-complementary
#FEFC71 #71BAFE #B671FE
monochromatic
#F3EF02 #FEFB34 #FEFC71 #FEFDAE #FFFEE1

Accessibility & contrast

On white

1.08
#FEFC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.38
#FEFC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC71
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC71#FFFFFF#000000##000000
##FEFC711.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF362
Deuteranopia (green-blind)
#FFF879
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefc71;
/* rgb */ color: rgb(254, 252, 113);
/* oklch */ color: oklch(96.6% 0.160 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffd9e',
    500: '#fefc71',
    950: '#000000',
  },
}
SCSS
$custom: #fefc71;
$custom-light: #fffd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc71",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 113
  },
  "hsl": {
    "h": 59.149,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.96643,
    "c": 0.15962,
    "h": 108.3
  },
  "luminance": 0.91884
}

Semantic roles & 50–950 ramp

primary
#FEFC71
secondary
#393BDB
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFC71

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

Preview Lab → · Contrast checker → · Palette generator →

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