#FEFD72#FEFD72

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

Color values

HEX#FEFD72
RGBrgb(254, 253, 114)
HSLhsl(60, 99%, 72%)
HSVhsv(60, 55%, 100%)
CMYKcmyk(0%, 0.4%, 55.1%, 0.4%)
CIE-LABlab(97.04, -17.06, 65.31)
CIE-LCHlch(97.04, 67.50, 104.64°)
OKLaboklab(96.86% -0.0511 0.1514)
OKLCHoklch(96.86% 0.16 108.7)
XYZxyz(79.0378, 92.5384, 29.6145)
Luminance0.9254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD72 #7273FE
analogous
#FEB772 #FEFD72 #B9FE72
triadic
#FEFD72 #72FEFD #FD72FE
tetradic
#FEFD72 #72FEB7 #7273FE #FE72B9
square
#FEFD72 #72FEB7 #7273FE #FE72B9
split-complementary
#FEFD72 #72B9FE #B772FE
monochromatic
#F4F202 #FEFC35 #FEFD72 #FEFEAF #FFFFE1

Accessibility & contrast

On white

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

On black

19.51
#FEFD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD72
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD72#FFFFFF#000000##000000
##FEFD721.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF463
Deuteranopia (green-blind)
#FFF97A
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefd72;
/* rgb */ color: rgb(254, 253, 114);
/* oklch */ color: oklch(96.9% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffd9f',
    500: '#fefd72',
    950: '#000000',
  },
}
SCSS
$custom: #fefd72;
$custom-light: #fffd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd72",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 114
  },
  "hsl": {
    "h": 59.571,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.96858,
    "c": 0.15979,
    "h": 108.7
  },
  "luminance": 0.92536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFD72

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

Preview Lab → · Contrast checker → · Palette generator →

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