#FFE878#FFE878

#FFE878 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.8% C 0.135 H 97.9°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#FFE878
RGBrgb(255, 232, 120)
HSLhsl(50, 100%, 74%)
HSVhsv(50, 53%, 100%)
CMYKcmyk(0%, 9%, 52.9%, 0%)
CIE-LABlab(91.83, -5.89, 56.65)
CIE-LCHlch(91.83, 56.96, 95.93°)
OKLaboklab(92.76% -0.0186 0.1333)
OKLCHoklch(92.76% 0.135 97.9)
XYZxyz(73.4893, 80.3323, 29.4003)
Luminance0.8033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE878 #788FFF
analogous
#FFA478 #FFE878 #D2FF78
triadic
#FFE878 #78FFE8 #E878FF
tetradic
#FFE878 #78FFA4 #788FFF #FF78D2
square
#FFE878 #78FFA4 #788FFF #FF78D2
split-complementary
#FFE878 #78D2FF #A478FF
monochromatic
#FDD200 #FFDE3B #FFE878 #FFF2B5 #FFFAE0

Accessibility & contrast

On white

1.23
#FFE878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#FFE878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE878
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE878#FFFFFF#000000##000000
##FFE8781.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36E
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe878;
/* rgb */ color: rgb(255, 232, 120);
/* oklch */ color: oklch(92.8% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#ffefa2',
    500: '#ffe878',
    950: '#000000',
  },
}
SCSS
$custom: #ffe878;
$custom-light: #ffefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe878",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 120
  },
  "hsl": {
    "h": 49.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9276,
    "c": 0.1346,
    "h": 97.9
  },
  "luminance": 0.80329
}

Semantic roles & 50–950 ramp

primary
#FFE878
secondary
#3E59DD
accent
#27E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE878

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

Preview Lab → · Contrast checker → · Palette generator →

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