#FFE78D#FFE78D

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

Color values

HEX#FFE78D
RGBrgb(255, 231, 141)
HSLhsl(47, 100%, 78%)
HSVhsv(47, 45%, 100%)
CMYKcmyk(0%, 9.4%, 44.7%, 0%)
CIE-LABlab(91.84, -3.54, 46.65)
CIE-LCHlch(91.84, 46.78, 94.34°)
OKLaboklab(92.84% -0.0097 0.1128)
OKLCHoklch(92.84% 0.113 94.9)
XYZxyz(74.6257, 80.3377, 36.7699)
Luminance0.8034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE78D #8DA5FF
analogous
#FFAE8D #FFE78D #DEFF8D
triadic
#FFE78D #8DFFE7 #E78DFF
tetradic
#FFE78D #8DFFAE #8DA5FF #FF8DDE
square
#FFE78D #8DFFAE #8DA5FF #FF8DDE
split-complementary
#FFE78D #8DDEFF #AE8DFF
monochromatic
#FFCD13 #FFDA50 #FFE78D #FFF4CA #FFF9E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE78D#FFFFFF#000000##000000
##FFE78D1.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)
#F8E386
Deuteranopia (green-blind)
#FEEB90
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe78d;
/* rgb */ color: rgb(255, 231, 141);
/* oklch */ color: oklch(92.8% 0.113 94.9);
Tailwind
colors: {
  custom: {
    50: '#ffeeb0',
    500: '#ffe78d',
    950: '#000000',
  },
}
SCSS
$custom: #ffe78d;
$custom-light: #ffeeb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe78d",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 141
  },
  "hsl": {
    "h": 47.368,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92844,
    "c": 0.11322,
    "h": 94.9
  },
  "luminance": 0.80335
}

Semantic roles & 50–950 ramp

primary
#FFE78D
secondary
#506EE0
accent
#30E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE78D

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

Preview Lab → · Contrast checker → · Palette generator →

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