#FFEB9B#FFEB9B

#FFEB9B is a very light, moderate yellow. Relative luminance 0.830; OKLCH L 93.9% C 0.102 H 95.8°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#FFEB9B
RGBrgb(255, 235, 155)
HSLhsl(48, 100%, 80%)
HSVhsv(48, 39%, 100%)
CMYKcmyk(0%, 7.8%, 39.2%, 0%)
CIE-LABlab(93.03, -4.14, 41.27)
CIE-LCHlch(93.03, 41.48, 95.72°)
OKLaboklab(93.86% -0.0103 0.1013)
OKLCHoklch(93.86% 0.102 95.8)
XYZxyz(76.8663, 83.0457, 42.9844)
Luminance0.8304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB9B #9BAFFF
analogous
#FFB99B #FFEB9B #E1FF9B
triadic
#FFEB9B #9BFFEB #EB9BFF
tetradic
#FFEB9B #9BFFB9 #9BAFFF #FF9BE1
square
#FFEB9B #9BFFB9 #9BAFFF #FF9BE1
split-complementary
#FFEB9B #9BE1FF #B99BFF
monochromatic
#FFD321 #FFDF5E #FFEB9B #FFF7D8 #FFF9E0

Accessibility & contrast

On white

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

On black

17.61
#FFEB9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB9B
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB9B#FFFFFF#000000##000000
##FFEB9B1.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeb9b;
/* rgb */ color: rgb(255, 235, 155);
/* oklch */ color: oklch(93.9% 0.102 95.8);
Tailwind
colors: {
  custom: {
    50: '#fff1b9',
    500: '#ffeb9b',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb9b;
$custom-light: #fff1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb9b",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 155
  },
  "hsl": {
    "h": 48,
    "s": 100,
    "l": 80.392
  },
  "oklch": {
    "l": 0.93855,
    "c": 0.1018,
    "h": 95.8
  },
  "luminance": 0.83043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEB9B

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

Preview Lab → · Contrast checker → · Palette generator →

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