#FFEB9E#FFEB9E

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

Color values

HEX#FFEB9E
RGBrgb(255, 235, 158)
HSLhsl(48, 100%, 81%)
HSVhsv(48, 38%, 100%)
CMYKcmyk(0%, 7.8%, 38%, 0%)
CIE-LABlab(93.08, -3.81, 39.84)
CIE-LCHlch(93.08, 40.02, 95.47°)
OKLaboklab(93.91% -0.0091 0.0981)
OKLCHoklch(93.91% 0.099 95.3)
XYZxyz(77.1214, 83.1477, 44.3278)
Luminance0.8315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB9E #9EB2FF
analogous
#FFBA9E #FFEB9E #E2FF9E
triadic
#FFEB9E #9EFFEB #EB9EFF
tetradic
#FFEB9E #9EFFBA #9EB2FF #FF9EE2
square
#FFEB9E #9EFFBA #9EB2FF #FF9EE2
split-complementary
#FFEB9E #9EE2FF #BA9EFF
monochromatic
#FFD224 #FFDE61 #FFEB9E #FFF8DB #FFF9E0

Accessibility & contrast

On white

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

On black

17.63
#FFEB9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB9E
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB9E#FFFFFF#000000##000000
##FFEB9E1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeb9e;
/* rgb */ color: rgb(255, 235, 158);
/* oklch */ color: oklch(93.9% 0.099 95.3);
Tailwind
colors: {
  custom: {
    50: '#fff1bb',
    500: '#ffeb9e',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb9e;
$custom-light: #fff1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb9e",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 158
  },
  "hsl": {
    "h": 47.629,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.93905,
    "c": 0.09851,
    "h": 95.3
  },
  "luminance": 0.83145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEB9E

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

Preview Lab → · Contrast checker → · Palette generator →

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