#FFEB9C#FFEB9C

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

Color values

HEX#FFEB9C
RGBrgb(255, 235, 156)
HSLhsl(48, 100%, 81%)
HSVhsv(48, 39%, 100%)
CMYKcmyk(0%, 7.8%, 38.8%, 0%)
CIE-LABlab(93.05, -4.03, 40.80)
CIE-LCHlch(93.05, 40.99, 95.64°)
OKLaboklab(93.87% -0.0099 0.1002)
OKLCHoklch(93.87% 0.101 95.6)
XYZxyz(76.9507, 83.0794, 43.4285)
Luminance0.8308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB9C #9CB0FF
analogous
#FFB99C #FFEB9C #E1FF9C
triadic
#FFEB9C #9CFFEB #EB9CFF
tetradic
#FFEB9C #9CFFB9 #9CB0FF #FF9CE1
square
#FFEB9C #9CFFB9 #9CB0FF #FF9CE1
split-complementary
#FFEB9C #9CE1FF #B99CFF
monochromatic
#FFD222 #FFDF5F #FFEB9C #FFF7D9 #FFF9E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEB9C#FFFFFF#000000##000000
##FFEB9C1.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)
#FAE796
Deuteranopia (green-blind)
#FFEE9F
Tritanopia (blue-blind)
#FFE0D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffeb9c;
/* rgb */ color: rgb(255, 235, 156);
/* oklch */ color: oklch(93.9% 0.101 95.6);
Tailwind
colors: {
  custom: {
    50: '#fff1ba',
    500: '#ffeb9c',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb9c;
$custom-light: #fff1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb9c",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 156
  },
  "hsl": {
    "h": 47.879,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.93872,
    "c": 0.10071,
    "h": 95.6
  },
  "luminance": 0.83077
}

Semantic roles & 50–950 ramp

primary
#FFEB9C
secondary
#5D78E2
accent
#2EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEB9C

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

Preview Lab → · Contrast checker → · Palette generator →

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