#FFEB8D#FFEB8D

#FFEB8D is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.6% C 0.117 H 97.6°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#FFEB8D
RGBrgb(255, 235, 141)
HSLhsl(49, 100%, 78%)
HSVhsv(49, 45%, 100%)
CMYKcmyk(0%, 7.8%, 44.7%, 0%)
CIE-LABlab(92.84, -5.55, 47.91)
CIE-LCHlch(92.84, 48.23, 96.61°)
OKLaboklab(93.64% -0.0155 0.1156)
OKLCHoklch(93.64% 0.117 97.6)
XYZxyz(75.7580, 82.6024, 37.1474)
Luminance0.8260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB8D #8DA1FF
analogous
#FFB28D #FFEB8D #DAFF8D
triadic
#FFEB8D #8DFFEB #EB8DFF
tetradic
#FFEB8D #8DFFB2 #8DA1FF #FF8DDA
square
#FFEB8D #8DFFB2 #8DA1FF #FF8DDA
split-complementary
#FFEB8D #8DDAFF #B28DFF
monochromatic
#FFD613 #FFE050 #FFEB8D #FFF6CA #FFFAE0

Accessibility & contrast

On white

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

On black

17.52
#FFEB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB8D
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB8D#FFFFFF#000000##000000
##FFEB8D1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE685
Deuteranopia (green-blind)
#FFEE91
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb8d;
/* rgb */ color: rgb(255, 235, 141);
/* oklch */ color: oklch(93.6% 0.117 97.6);
Tailwind
colors: {
  custom: {
    50: '#fff1b0',
    500: '#ffeb8d',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb8d;
$custom-light: #fff1b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb8d",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 141
  },
  "hsl": {
    "h": 49.474,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93638,
    "c": 0.11666,
    "h": 97.6
  },
  "luminance": 0.826
}

Semantic roles & 50–950 ramp

primary
#FFEB8D
secondary
#5069E0
accent
#28E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFEB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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