#FFE78A#FFE78A

#FFE78A is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.8% C 0.116 H 95.3°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#FFE78A
RGBrgb(255, 231, 138)
HSLhsl(48, 100%, 77%)
HSVhsv(48, 46%, 100%)
CMYKcmyk(0%, 9.4%, 45.9%, 0%)
CIE-LABlab(91.80, -3.83, 48.06)
CIE-LCHlch(91.80, 48.21, 94.55°)
OKLaboklab(92.8% -0.0108 0.1158)
OKLCHoklch(92.8% 0.116 95.3)
XYZxyz(74.4055, 80.2496, 35.6102)
Luminance0.8025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE78A #8AA2FF
analogous
#FFAD8A #FFE78A #DDFF8A
triadic
#FFE78A #8AFFE7 #E78AFF
tetradic
#FFE78A #8AFFAD #8AA2FF #FF8ADD
square
#FFE78A #8AFFAD #8AA2FF #FF8ADD
split-complementary
#FFE78A #8ADDFF #AD8AFF
monochromatic
#FFCE10 #FFDA4D #FFE78A #FFF4C7 #FFF9E0

Accessibility & contrast

On white

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

On black

17.05
#FFE78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE78A
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE78A#FFFFFF#000000##000000
##FFE78A1.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E382
Deuteranopia (green-blind)
#FFEB8E
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe78a;
/* rgb */ color: rgb(255, 231, 138);
/* oklch */ color: oklch(92.8% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#ffeead',
    500: '#ffe78a',
    950: '#000000',
  },
}
SCSS
$custom: #ffe78a;
$custom-light: #ffeead;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe78a",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 138
  },
  "hsl": {
    "h": 47.692,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92801,
    "c": 0.11628,
    "h": 95.3
  },
  "luminance": 0.80247
}

Semantic roles & 50–950 ramp

primary
#FFE78A
secondary
#4E6CE0
accent
#2FE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE78A

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

Preview Lab → · Contrast checker → · Palette generator →

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