#FED978#FED978

#FED978 is a very light, vivid orange. Relative luminance 0.721; OKLCH L 89.7% C 0.123 H 89.0°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#FED978
RGBrgb(254, 217, 120)
HSLhsl(43, 99%, 73%)
HSVhsv(43, 53%, 100%)
CMYKcmyk(0%, 14.6%, 52.8%, 0.4%)
CIE-LABlab(88.00, 1.29, 52.07)
CIE-LCHlch(88.00, 52.08, 88.58°)
OKLaboklab(89.71% 0.0022 0.1233)
OKLCHoklch(89.71% 0.123 89)
XYZxyz(69.0788, 72.0560, 28.0353)
Luminance0.7205 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED978 #789DFE
analogous
#FE9678 #FED978 #E0FE78
triadic
#FED978 #78FED9 #D978FE
tetradic
#FED978 #78FE96 #789DFE #FE78E0
square
#FED978 #78FE96 #789DFE #FE78E0
split-complementary
#FED978 #78E0FE #9678FE
monochromatic
#FAB502 #FEC83B #FED978 #FEEAB5 #FFF6E1

Accessibility & contrast

On white

1.36
#FED978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#FED978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED978
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED978#FFFFFF#000000##000000
##FED9781.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD76F
Deuteranopia (green-blind)
#F6E17C
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #fed978;
/* rgb */ color: rgb(254, 217, 120);
/* oklch */ color: oklch(89.7% 0.123 89.0);
Tailwind
colors: {
  custom: {
    50: '#ffe4a1',
    500: '#fed978',
    950: '#000000',
  },
}
SCSS
$custom: #fed978;
$custom-light: #ffe4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fed978",
  "rgb": {
    "r": 254,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 43.433,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89707,
    "c": 0.12333,
    "h": 89
  },
  "luminance": 0.72053
}

Semantic roles & 50–950 ramp

primary
#FED978
secondary
#3F6ADC
accent
#3FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #FED978

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

Preview Lab → · Contrast checker → · Palette generator →

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