#FEFD71#FEFD71

#FEFD71 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.161 H 108.7°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#FEFD71
RGBrgb(254, 253, 113)
HSLhsl(60, 99%, 72%)
HSVhsv(60, 56%, 100%)
CMYKcmyk(0%, 0.4%, 55.5%, 0.4%)
CIE-LABlab(97.03, -17.13, 65.73)
CIE-LCHlch(97.03, 67.93, 104.61°)
OKLaboklab(96.85% -0.0514 0.1522)
OKLCHoklch(96.85% 0.161 108.7)
XYZxyz(78.9812, 92.5158, 29.3164)
Luminance0.9251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD71 #7172FE
analogous
#FEB671 #FEFD71 #B9FE71
triadic
#FEFD71 #71FEFD #FD71FE
tetradic
#FEFD71 #71FEB6 #7172FE #FE71B9
square
#FEFD71 #71FEB6 #7172FE #FE71B9
split-complementary
#FEFD71 #71B9FE #B671FE
monochromatic
#F3F102 #FEFC34 #FEFD71 #FEFEAE #FFFFE1

Accessibility & contrast

On white

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

On black

19.50
#FEFD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD71
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD71#FFFFFF#000000##000000
##FEFD711.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF462
Deuteranopia (green-blind)
#FFF979
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefd71;
/* rgb */ color: rgb(254, 253, 113);
/* oklch */ color: oklch(96.8% 0.161 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffd9e',
    500: '#fefd71',
    950: '#000000',
  },
}
SCSS
$custom: #fefd71;
$custom-light: #fffd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd71",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 113
  },
  "hsl": {
    "h": 59.574,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.96848,
    "c": 0.16064,
    "h": 108.7
  },
  "luminance": 0.92514
}

Semantic roles & 50–950 ramp

primary
#FEFD71
secondary
#393ADB
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFD71

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

Preview Lab → · Contrast checker → · Palette generator →

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