#FFEB87#FFEB87

#FFEB87 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.6% C 0.123 H 98.3°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#FFEB87
RGBrgb(255, 235, 135)
HSLhsl(50, 100%, 76%)
HSVhsv(50, 47%, 100%)
CMYKcmyk(0%, 7.8%, 47.1%, 0%)
CIE-LABlab(92.76, -6.11, 50.70)
CIE-LCHlch(92.76, 51.07, 96.87°)
OKLaboklab(93.55% -0.0177 0.1215)
OKLCHoklch(93.55% 0.123 98.3)
XYZxyz(75.3236, 82.4286, 34.8596)
Luminance0.8243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB87 #879BFF
analogous
#FFAF87 #FFEB87 #D7FF87
triadic
#FFEB87 #87FFEB #EB87FF
tetradic
#FFEB87 #87FFAF #879BFF #FF87D7
square
#FFEB87 #87FFAF #879BFF #FF87D7
split-complementary
#FFEB87 #87D7FF #AF87FF
monochromatic
#FFD70D #FFE14A #FFEB87 #FFF5C4 #FFFAE0

Accessibility & contrast

On white

1.20
#FFEB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.49
#FFEB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB87
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB87#FFFFFF#000000##000000
##FFEB871.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67F
Deuteranopia (green-blind)
#FFED8B
Tritanopia (blue-blind)
#FFDED3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb87;
/* rgb */ color: rgb(255, 235, 135);
/* oklch */ color: oklch(93.6% 0.123 98.3);
Tailwind
colors: {
  custom: {
    50: '#fff1ac',
    500: '#ffeb87',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb87;
$custom-light: #fff1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb87",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 135
  },
  "hsl": {
    "h": 50,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93553,
    "c": 0.12275,
    "h": 98.3
  },
  "luminance": 0.82426
}

Semantic roles & 50–950 ramp

primary
#FFEB87
secondary
#4B64DF
accent
#26E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFEB87

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

Preview Lab → · Contrast checker → · Palette generator →

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