#FFE78F#FFE78F

#FFE78F is a very light, moderate yellow. Relative luminance 0.804; OKLCH L 92.9% C 0.111 H 94.6°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#FFE78F
RGBrgb(255, 231, 143)
HSLhsl(47, 100%, 78%)
HSVhsv(47, 44%, 100%)
CMYKcmyk(0%, 9.4%, 43.9%, 0%)
CIE-LABlab(91.86, -3.35, 45.70)
CIE-LCHlch(91.86, 45.83, 94.19°)
OKLaboklab(92.87% -0.009 0.1108)
OKLCHoklch(92.87% 0.111 94.6)
XYZxyz(74.7759, 80.3978, 37.5608)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE78F #8FA7FF
analogous
#FFAF8F #FFE78F #DFFF8F
triadic
#FFE78F #8FFFE7 #E78FFF
tetradic
#FFE78F #8FFFAF #8FA7FF #FF8FDF
square
#FFE78F #8FFFAF #8FA7FF #FF8FDF
split-complementary
#FFE78F #8FDFFF #AF8FFF
monochromatic
#FFCD15 #FFDA52 #FFE78F #FFF4CC #FFF8E0

Accessibility & contrast

On white

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

On black

17.08
#FFE78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE78F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE78F#FFFFFF#000000##000000
##FFE78F1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E388
Deuteranopia (green-blind)
#FEEB92
Tritanopia (blue-blind)
#FFDBD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe78f;
/* rgb */ color: rgb(255, 231, 143);
/* oklch */ color: oklch(92.9% 0.111 94.6);
Tailwind
colors: {
  custom: {
    50: '#ffeeb1',
    500: '#ffe78f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe78f;
$custom-light: #ffeeb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe78f",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 143
  },
  "hsl": {
    "h": 47.143,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92874,
    "c": 0.11114,
    "h": 94.6
  },
  "luminance": 0.80395
}

Semantic roles & 50–950 ramp

primary
#FFE78F
secondary
#5270E0
accent
#31E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181611
muted
#868581

Preview Lab

Preview with #FFE78F

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

Preview Lab → · Contrast checker → · Palette generator →

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