#FFE478#FFE478

#FFE478 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 92.0% C 0.131 H 95.6°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#FFE478
RGBrgb(255, 228, 120)
HSLhsl(48, 100%, 74%)
HSVhsv(48, 53%, 100%)
CMYKcmyk(0%, 10.6%, 52.9%, 0%)
CIE-LABlab(90.83, -3.88, 55.46)
CIE-LCHlch(90.83, 55.60, 94.00°)
OKLaboklab(91.97% -0.0128 0.1307)
OKLCHoklch(91.97% 0.131 95.6)
XYZxyz(72.3762, 78.1060, 29.0293)
Luminance0.7810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE478 #7893FF
analogous
#FFA078 #FFE478 #D6FF78
triadic
#FFE478 #78FFE4 #E478FF
tetradic
#FFE478 #78FFA0 #7893FF #FF78D6
square
#FFE478 #78FFA0 #7893FF #FF78D6
split-complementary
#FFE478 #78D6FF #A078FF
monochromatic
#FDCA00 #FFD83B #FFE478 #FFF0B5 #FFF9E0

Accessibility & contrast

On white

1.26
#FFE478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#FFE478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE478
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE478#FFFFFF#000000##000000
##FFE4781.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06E
Deuteranopia (green-blind)
#FEE87D
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe478;
/* rgb */ color: rgb(255, 228, 120);
/* oklch */ color: oklch(92.0% 0.131 95.6);
Tailwind
colors: {
  custom: {
    50: '#ffeca1',
    500: '#ffe478',
    950: '#000000',
  },
}
SCSS
$custom: #ffe478;
$custom-light: #ffeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe478",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 48,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91965,
    "c": 0.13136,
    "h": 95.6
  },
  "luminance": 0.78103
}

Semantic roles & 50–950 ramp

primary
#FFE478
secondary
#3E5EDD
accent
#2EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE478

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

Preview Lab → · Contrast checker → · Palette generator →

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