#FFED78#FFED78

#FFED78 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.8% C 0.139 H 100.7°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#FFED78
RGBrgb(255, 237, 120)
HSLhsl(52, 100%, 74%)
HSVhsv(52, 53%, 100%)
CMYKcmyk(0%, 7.1%, 52.9%, 0%)
CIE-LABlab(93.10, -8.38, 58.13)
CIE-LCHlch(93.10, 58.73, 98.20°)
OKLaboklab(93.76% -0.0258 0.1365)
OKLCHoklch(93.76% 0.139 100.7)
XYZxyz(74.9168, 83.1872, 29.8761)
Luminance0.8318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFED78 #788AFF
analogous
#FFA978 #FFED78 #CDFF78
triadic
#FFED78 #78FFED #ED78FF
tetradic
#FFED78 #78FFA9 #788AFF #FF78CD
square
#FFED78 #78FFA9 #788AFF #FF78CD
split-complementary
#FFED78 #78CDFF #A978FF
monochromatic
#FDDB00 #FFE53B #FFED78 #FFF5B5 #FFFBE0

Accessibility & contrast

On white

1.19
#FFED78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#FFED78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFED78
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFED78#FFFFFF#000000##000000
##FFED781.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFEE7D
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffed78;
/* rgb */ color: rgb(255, 237, 120);
/* oklch */ color: oklch(93.8% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#fff2a2',
    500: '#ffed78',
    950: '#000000',
  },
}
SCSS
$custom: #ffed78;
$custom-light: #fff2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffed78",
  "rgb": {
    "r": 255,
    "g": 237,
    "b": 120
  },
  "hsl": {
    "h": 52,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93761,
    "c": 0.13895,
    "h": 100.7
  },
  "luminance": 0.83184
}

Semantic roles & 50–950 ramp

primary
#FFED78
secondary
#3E53DD
accent
#1FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFED78

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

Preview Lab → · Contrast checker → · Palette generator →

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