#FFE788#FFE788

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

Color values

HEX#FFE788
RGBrgb(255, 231, 136)
HSLhsl(48, 100%, 77%)
HSVhsv(48, 47%, 100%)
CMYKcmyk(0%, 9.4%, 46.7%, 0%)
CIE-LABlab(91.77, -4.01, 49.00)
CIE-LCHlch(91.77, 49.16, 94.68°)
OKLaboklab(92.77% -0.0115 0.1178)
OKLCHoklch(92.77% 0.118 95.6)
XYZxyz(74.2620, 80.1923, 34.8547)
Luminance0.8019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE788 #88A0FF
analogous
#FFAC88 #FFE788 #DCFF88
triadic
#FFE788 #88FFE7 #E788FF
tetradic
#FFE788 #88FFAC #88A0FF #FF88DC
square
#FFE788 #88FFAC #88A0FF #FF88DC
split-complementary
#FFE788 #88DCFF #AC88FF
monochromatic
#FFCE0E #FFDB4B #FFE788 #FFF3C5 #FFF9E0

Accessibility & contrast

On white

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

On black

17.04
#FFE788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE788
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE788#FFFFFF#000000##000000
##FFE7881.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E380
Deuteranopia (green-blind)
#FFEB8C
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe788;
/* rgb */ color: rgb(255, 231, 136);
/* oklch */ color: oklch(92.8% 0.118 95.6);
Tailwind
colors: {
  custom: {
    50: '#ffeeac',
    500: '#ffe788',
    950: '#000000',
  },
}
SCSS
$custom: #ffe788;
$custom-light: #ffeeac;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe788",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 136
  },
  "hsl": {
    "h": 47.899,
    "s": 100,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92772,
    "c": 0.11831,
    "h": 95.6
  },
  "luminance": 0.80189
}

Semantic roles & 50–950 ramp

primary
#FFE788
secondary
#4C6ADF
accent
#2EE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE788

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

Preview Lab → · Contrast checker → · Palette generator →

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