#FDEF78#FDEF78

#FDEF78 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.141 H 102.6°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#FDEF78
RGBrgb(253, 239, 120)
HSLhsl(54, 97%, 73%)
HSVhsv(54, 53%, 99%)
CMYKcmyk(0%, 5.5%, 52.6%, 0.8%)
CIE-LABlab(93.44, -10.16, 58.49)
CIE-LCHlch(93.44, 59.37, 99.86°)
OKLaboklab(93.99% -0.0308 0.1374)
OKLCHoklch(93.99% 0.141 102.6)
XYZxyz(74.7670, 83.9743, 30.0359)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEF78 #7886FD
analogous
#FDAC78 #FDEF78 #C8FD78
triadic
#FDEF78 #78FDEF #EF78FD
tetradic
#FDEF78 #78FDAC #7886FD #FD78C8
square
#FDEF78 #78FDAC #7886FD #FD78C8
split-complementary
#FDEF78 #78C8FD #AC78FD
monochromatic
#F7DD04 #FCE83C #FDEF78 #FEF6B4 #FFFBE1

Accessibility & contrast

On white

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

On black

17.79
#FDEF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEF78
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEF78#FFFFFF#000000##000000
##FDEF781.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdef78;
/* rgb */ color: rgb(253, 239, 120);
/* oklch */ color: oklch(94.0% 0.141 102.6);
Tailwind
colors: {
  custom: {
    50: '#fff4a2',
    500: '#fdef78',
    950: '#000000',
  },
}
SCSS
$custom: #fdef78;
$custom-light: #fff4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdef78",
  "rgb": {
    "r": 253,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 53.684,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93994,
    "c": 0.14076,
    "h": 102.6
  },
  "luminance": 0.83972
}

Semantic roles & 50–950 ramp

primary
#FDEF78
secondary
#3F4FDA
accent
#18E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDEF78

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

Preview Lab → · Contrast checker → · Palette generator →

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