#FFEB9D#FFEB9D

#FFEB9D is a very light, moderate yellow. Relative luminance 0.831; OKLCH L 93.9% C 0.100 H 95.5°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#FFEB9D
RGBrgb(255, 235, 157)
HSLhsl(48, 100%, 81%)
HSVhsv(48, 38%, 100%)
CMYKcmyk(0%, 7.8%, 38.4%, 0%)
CIE-LABlab(93.06, -3.92, 40.32)
CIE-LCHlch(93.06, 40.51, 95.56°)
OKLaboklab(93.89% -0.0095 0.0992)
OKLCHoklch(93.89% 0.1 95.5)
XYZxyz(77.0357, 83.1135, 43.8763)
Luminance0.8311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB9D #9DB1FF
analogous
#FFBA9D #FFEB9D #E2FF9D
triadic
#FFEB9D #9DFFEB #EB9DFF
tetradic
#FFEB9D #9DFFBA #9DB1FF #FF9DE2
square
#FFEB9D #9DFFBA #9DB1FF #FF9DE2
split-complementary
#FFEB9D #9DE2FF #BA9DFF
monochromatic
#FFD223 #FFDF60 #FFEB9D #FFF7DA #FFF9E0

Accessibility & contrast

On white

1.19
#FFEB9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#FFEB9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB9D
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB9D#FFFFFF#000000##000000
##FFEB9D1.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE797
Deuteranopia (green-blind)
#FFEEA0
Tritanopia (blue-blind)
#FFE0D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffeb9d;
/* rgb */ color: rgb(255, 235, 157);
/* oklch */ color: oklch(93.9% 0.100 95.5);
Tailwind
colors: {
  custom: {
    50: '#fff1bb',
    500: '#ffeb9d',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb9d;
$custom-light: #fff1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb9d",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 157
  },
  "hsl": {
    "h": 47.755,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.93888,
    "c": 0.0996,
    "h": 95.5
  },
  "luminance": 0.83111
}

Semantic roles & 50–950 ramp

primary
#FFEB9D
secondary
#5E79E3
accent
#2FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFEB9D

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

Preview Lab → · Contrast checker → · Palette generator →

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