#FEF472#FEF472

#FEF472 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.151 H 104.9°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FEF472
RGBrgb(254, 244, 114)
HSLhsl(56, 99%, 72%)
HSVhsv(56, 55%, 100%)
CMYKcmyk(0%, 3.9%, 55.1%, 0.4%)
CIE-LABlab(94.73, -12.68, 62.70)
CIE-LCHlch(94.73, 63.97, 101.44°)
OKLaboklab(95.02% -0.0387 0.1458)
OKLCHoklch(95.02% 0.151 104.9)
XYZxyz(76.2634, 86.9896, 28.6897)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF472 #727CFE
analogous
#FEAE72 #FEF472 #C2FE72
triadic
#FEF472 #72FEF4 #F472FE
tetradic
#FEF472 #72FEAE #727CFE #FE72C2
square
#FEF472 #72FEAE #727CFE #FE72C2
split-complementary
#FEF472 #72C2FE #AE72FE
monochromatic
#F4E302 #FEEF35 #FEF472 #FEF9AF #FFFDE1

Accessibility & contrast

On white

1.14
#FEF472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#FEF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF472
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF472#FFFFFF#000000##000000
##FEF4721.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFF379
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef472;
/* rgb */ color: rgb(254, 244, 114);
/* oklch */ color: oklch(95.0% 0.151 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff79e',
    500: '#fef472',
    950: '#000000',
  },
}
SCSS
$custom: #fef472;
$custom-light: #fff79e;
$custom-dark: #000000;
JSON
{
  "hex": "#fef472",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 55.714,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95022,
    "c": 0.15084,
    "h": 104.9
  },
  "luminance": 0.86987
}

Semantic roles & 50–950 ramp

primary
#FEF472
secondary
#3945DB
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF472

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

Preview Lab → · Contrast checker → · Palette generator →

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