#FDEC78#FDEC78

#FDEC78 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.4% C 0.138 H 101.1°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#FDEC78
RGBrgb(253, 236, 120)
HSLhsl(52, 97%, 73%)
HSVhsv(52, 53%, 99%)
CMYKcmyk(0%, 6.7%, 52.6%, 0.8%)
CIE-LABlab(92.68, -8.68, 57.60)
CIE-LCHlch(92.68, 58.25, 98.57°)
OKLaboklab(93.39% -0.0265 0.1354)
OKLCHoklch(93.39% 0.138 101.1)
XYZxyz(73.8960, 82.2323, 29.7456)
Luminance0.8223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC78 #7889FD
analogous
#FDA978 #FDEC78 #CBFD78
triadic
#FDEC78 #78FDEC #EC78FD
tetradic
#FDEC78 #78FDA9 #7889FD #FD78CB
square
#FDEC78 #78FDA9 #7889FD #FD78CB
split-complementary
#FDEC78 #78CBFD #A978FD
monochromatic
#F7D804 #FCE43C #FDEC78 #FEF4B4 #FFFBE1

Accessibility & contrast

On white

1.20
#FDEC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#FDEC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC78
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC78#FFFFFF#000000##000000
##FDEC781.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fdec78;
/* rgb */ color: rgb(253, 236, 120);
/* oklch */ color: oklch(93.4% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#fff1a2',
    500: '#fdec78',
    950: '#000000',
  },
}
SCSS
$custom: #fdec78;
$custom-light: #fff1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec78",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 52.331,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93389,
    "c": 0.13798,
    "h": 101.1
  },
  "luminance": 0.8223
}

Semantic roles & 50–950 ramp

primary
#FDEC78
secondary
#3F53DA
accent
#1DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FDEC78

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

Preview Lab → · Contrast checker → · Palette generator →

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