#FEDD78#FEDD78

#FEDD78 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.5% C 0.126 H 91.7°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#FEDD78
RGBrgb(254, 221, 120)
HSLhsl(45, 99%, 73%)
HSVhsv(45, 53%, 100%)
CMYKcmyk(0%, 13%, 52.8%, 0.4%)
CIE-LABlab(88.99, -0.75, 53.26)
CIE-LCHlch(88.99, 53.26, 90.80°)
OKLaboklab(90.49% -0.0037 0.1259)
OKLCHoklch(90.49% 0.126 91.7)
XYZxyz(70.1224, 74.1431, 28.3831)
Luminance0.7414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDD78 #7899FE
analogous
#FE9A78 #FEDD78 #DCFE78
triadic
#FEDD78 #78FEDD #DD78FE
tetradic
#FEDD78 #78FE9A #7899FE #FE78DC
square
#FEDD78 #78FE9A #7899FE #FE78DC
split-complementary
#FEDD78 #78DCFE #9A78FE
monochromatic
#FABD02 #FECE3B #FEDD78 #FEECB5 #FFF7E1

Accessibility & contrast

On white

1.33
#FEDD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#FEDD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDD78
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDD78#FFFFFF#000000##000000
##FEDD781.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F9E47C
Tritanopia (blue-blind)
#FFCFC6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #fedd78;
/* rgb */ color: rgb(254, 221, 120);
/* oklch */ color: oklch(90.5% 0.126 91.7);
Tailwind
colors: {
  custom: {
    50: '#ffe7a1',
    500: '#fedd78',
    950: '#000000',
  },
}
SCSS
$custom: #fedd78;
$custom-light: #ffe7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fedd78",
  "rgb": {
    "r": 254,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 45.224,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90492,
    "c": 0.12597,
    "h": 91.7
  },
  "luminance": 0.7414
}

Semantic roles & 50–950 ramp

primary
#FEDD78
secondary
#3F65DC
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FEDD78

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

Preview Lab → · Contrast checker → · Palette generator →

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