#FFE978#FFE978

#FFE978 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 93.0% C 0.135 H 98.5°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#FFE978
RGBrgb(255, 233, 120)
HSLhsl(50, 100%, 74%)
HSVhsv(50, 53%, 100%)
CMYKcmyk(0%, 8.6%, 52.9%, 0%)
CIE-LABlab(92.09, -6.39, 56.95)
CIE-LCHlch(92.09, 57.30, 96.40°)
OKLaboklab(92.96% -0.02 0.134)
OKLCHoklch(92.96% 0.135 98.5)
XYZxyz(73.7716, 80.8968, 29.4944)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE978 #788EFF
analogous
#FFA578 #FFE978 #D1FF78
triadic
#FFE978 #78FFE9 #E978FF
tetradic
#FFE978 #78FFA5 #788EFF #FF78D1
square
#FFE978 #78FFA5 #788EFF #FF78D1
split-complementary
#FFE978 #78D1FF #A578FF
monochromatic
#FDD300 #FFDF3B #FFE978 #FFF3B5 #FFFAE0

Accessibility & contrast

On white

1.22
#FFE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#FFE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE978
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE978#FFFFFF#000000##000000
##FFE9781.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46E
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe978;
/* rgb */ color: rgb(255, 233, 120);
/* oklch */ color: oklch(93.0% 0.135 98.5);
Tailwind
colors: {
  custom: {
    50: '#ffefa2',
    500: '#ffe978',
    950: '#000000',
  },
}
SCSS
$custom: #ffe978;
$custom-light: #ffefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe978",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 50.222,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9296,
    "c": 0.13545,
    "h": 98.5
  },
  "luminance": 0.80894
}

Semantic roles & 50–950 ramp

primary
#FFE978
secondary
#3E58DD
accent
#25E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE978

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

Preview Lab → · Contrast checker → · Palette generator →

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