#FEDF78#FEDF78

#FEDF78 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.9% C 0.127 H 93.0°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#FEDF78
RGBrgb(254, 223, 120)
HSLhsl(46, 99%, 73%)
HSVhsv(46, 53%, 100%)
CMYKcmyk(0%, 12.2%, 52.8%, 0.4%)
CIE-LABlab(89.49, -1.76, 53.85)
CIE-LCHlch(89.49, 53.88, 91.87°)
OKLaboklab(90.89% -0.0066 0.1272)
OKLCHoklch(90.89% 0.127 93)
XYZxyz(70.6535, 75.2055, 28.5602)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF78 #7897FE
analogous
#FE9C78 #FEDF78 #DAFE78
triadic
#FEDF78 #78FEDF #DF78FE
tetradic
#FEDF78 #78FE9C #7897FE #FE78DA
square
#FEDF78 #78FE9C #7897FE #FE78DA
split-complementary
#FEDF78 #78DAFE #9C78FE
monochromatic
#FAC002 #FED13B #FEDF78 #FEEDB5 #FFF8E1

Accessibility & contrast

On white

1.31
#FEDF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#FEDF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF78
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF78#FFFFFF#000000##000000
##FEDF781.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC6F
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fedf78;
/* rgb */ color: rgb(254, 223, 120);
/* oklch */ color: oklch(90.9% 0.127 93.0);
Tailwind
colors: {
  custom: {
    50: '#ffe8a1',
    500: '#fedf78',
    950: '#000000',
  },
}
SCSS
$custom: #fedf78;
$custom-light: #ffe8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf78",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 46.119,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90886,
    "c": 0.1274,
    "h": 93
  },
  "luminance": 0.75202
}

Semantic roles & 50–950 ramp

primary
#FEDF78
secondary
#3F63DC
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FEDF78

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

Preview Lab → · Contrast checker → · Palette generator →

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