#FFE787#FFE787

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

Color values

HEX#FFE787
RGBrgb(255, 231, 135)
HSLhsl(48, 100%, 76%)
HSVhsv(48, 47%, 100%)
CMYKcmyk(0%, 9.4%, 47.1%, 0%)
CIE-LABlab(91.76, -4.10, 49.47)
CIE-LCHlch(91.76, 49.64, 94.74°)
OKLaboklab(92.76% -0.0119 0.1187)
OKLCHoklch(92.76% 0.119 95.7)
XYZxyz(74.1913, 80.1640, 34.4821)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE787 #879FFF
analogous
#FFAB87 #FFE787 #DBFF87
triadic
#FFE787 #87FFE7 #E787FF
tetradic
#FFE787 #87FFAB #879FFF #FF87DB
square
#FFE787 #87FFAB #879FFF #FF87DB
split-complementary
#FFE787 #87DBFF #AB87FF
monochromatic
#FFCF0D #FFDB4A #FFE787 #FFF3C4 #FFF9E0

Accessibility & contrast

On white

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

On black

17.03
#FFE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE787
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE787#FFFFFF#000000##000000
##FFE7871.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe787;
/* rgb */ color: rgb(255, 231, 135);
/* oklch */ color: oklch(92.8% 0.119 95.7);
Tailwind
colors: {
  custom: {
    50: '#ffeeab',
    500: '#ffe787',
    950: '#000000',
  },
}
SCSS
$custom: #ffe787;
$custom-light: #ffeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe787",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 48,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92758,
    "c": 0.11931,
    "h": 95.7
  },
  "luminance": 0.80161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE787

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

Preview Lab → · Contrast checker → · Palette generator →

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