#FDEF76#FDEF76

#FDEF76 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 94.0% C 0.143 H 102.7°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#FDEF76
RGBrgb(253, 239, 118)
HSLhsl(54, 97%, 73%)
HSVhsv(54, 53%, 99%)
CMYKcmyk(0%, 5.5%, 53.4%, 0.8%)
CIE-LABlab(93.42, -10.32, 59.38)
CIE-LCHlch(93.42, 60.27, 99.86°)
OKLaboklab(93.97% -0.0314 0.1391)
OKLCHoklch(93.97% 0.143 102.7)
XYZxyz(74.6469, 83.9262, 29.4033)
Luminance0.8392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEF76 #7684FD
analogous
#FDAC76 #FDEF76 #C7FD76
triadic
#FDEF76 #76FDEF #EF76FD
tetradic
#FDEF76 #76FDAC #7684FD #FD76C7
square
#FDEF76 #76FDAC #7684FD #FD76C7
split-complementary
#FDEF76 #76C7FD #AC76FD
monochromatic
#F5DC04 #FCE83A #FDEF76 #FEF6B2 #FFFBE1

Accessibility & contrast

On white

1.18
#FDEF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#FDEF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEF76
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEF76#FFFFFF#000000##000000
##FDEF761.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86A
Deuteranopia (green-blind)
#FFEF7C
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fdef76;
/* rgb */ color: rgb(253, 239, 118);
/* oklch */ color: oklch(94.0% 0.143 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff4a1',
    500: '#fdef76',
    950: '#000000',
  },
}
SCSS
$custom: #fdef76;
$custom-light: #fff4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdef76",
  "rgb": {
    "r": 253,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 53.778,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9397,
    "c": 0.14258,
    "h": 102.7
  },
  "luminance": 0.83924
}

Semantic roles & 50–950 ramp

primary
#FDEF76
secondary
#3D4DDA
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDEF76

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

Preview Lab → · Contrast checker → · Palette generator →

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