#FFEB78#FFEB78

#FFEB78 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.4% C 0.137 H 99.6°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#FFEB78
RGBrgb(255, 235, 120)
HSLhsl(51, 100%, 74%)
HSVhsv(51, 53%, 100%)
CMYKcmyk(0%, 7.8%, 52.9%, 0%)
CIE-LABlab(92.59, -7.38, 57.54)
CIE-LCHlch(92.59, 58.01, 97.31°)
OKLaboklab(93.36% -0.0229 0.1353)
OKLCHoklch(93.36% 0.137 99.6)
XYZxyz(74.3410, 82.0356, 29.6842)
Luminance0.8203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB78 #788CFF
analogous
#FFA778 #FFEB78 #CFFF78
triadic
#FFEB78 #78FFEB #EB78FF
tetradic
#FFEB78 #78FFA7 #788CFF #FF78CF
square
#FFEB78 #78FFA7 #788CFF #FF78CF
split-complementary
#FFEB78 #78CFFF #A778FF
monochromatic
#FDD700 #FFE23B #FFEB78 #FFF4B5 #FFFAE0

Accessibility & contrast

On white

1.21
#FFEB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#FFEB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB78
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB78#FFFFFF#000000##000000
##FFEB781.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56D
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb78;
/* rgb */ color: rgb(255, 235, 120);
/* oklch */ color: oklch(93.4% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#fff1a2',
    500: '#ffeb78',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb78;
$custom-light: #fff1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb78",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 51.111,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9336,
    "c": 0.13718,
    "h": 99.6
  },
  "luminance": 0.82033
}

Semantic roles & 50–950 ramp

primary
#FFEB78
secondary
#3E56DD
accent
#22E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFEB78

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

Preview Lab → · Contrast checker → · Palette generator →

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