#FEF476#FEF476

#FEF476 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.1% C 0.147 H 104.7°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FEF476
RGBrgb(254, 244, 118)
HSLhsl(56, 99%, 73%)
HSVhsv(56, 54%, 100%)
CMYKcmyk(0%, 3.9%, 53.5%, 0.4%)
CIE-LABlab(94.77, -12.38, 60.97)
CIE-LCHlch(94.77, 62.21, 101.48°)
OKLaboklab(95.07% -0.0374 0.1425)
OKLCHoklch(95.07% 0.147 104.7)
XYZxyz(76.4960, 87.0827, 29.9151)
Luminance0.8708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF476 #7680FE
analogous
#FEB076 #FEF476 #C4FE76
triadic
#FEF476 #76FEF4 #F476FE
tetradic
#FEF476 #76FEB0 #7680FE #FE76C4
square
#FEF476 #76FEB0 #7680FE #FE76C4
split-complementary
#FEF476 #76C4FE #B076FE
monochromatic
#F8E602 #FEEF39 #FEF476 #FEF9B3 #FFFDE1

Accessibility & contrast

On white

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

On black

18.42
#FEF476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF476
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF476#FFFFFF#000000##000000
##FEF4761.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FFF37C
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef476;
/* rgb */ color: rgb(254, 244, 118);
/* oklch */ color: oklch(95.1% 0.147 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff7a1',
    500: '#fef476',
    950: '#000000',
  },
}
SCSS
$custom: #fef476;
$custom-light: #fff7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef476",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 55.588,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95066,
    "c": 0.14732,
    "h": 104.7
  },
  "luminance": 0.8708
}

Semantic roles & 50–950 ramp

primary
#FEF476
secondary
#3D48DB
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF476

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

Preview Lab → · Contrast checker → · Palette generator →

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