#FFEB9F#FFEB9F

#FFEB9F is a very light, moderate yellow. Relative luminance 0.832; OKLCH L 93.9% C 0.097 H 95.1°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#FFEB9F
RGBrgb(255, 235, 159)
HSLhsl(48, 100%, 81%)
HSVhsv(48, 38%, 100%)
CMYKcmyk(0%, 7.8%, 37.6%, 0%)
CIE-LABlab(93.09, -3.71, 39.36)
CIE-LCHlch(93.09, 39.53, 95.38°)
OKLaboklab(93.92% -0.0087 0.097)
OKLCHoklch(93.92% 0.097 95.1)
XYZxyz(77.2078, 83.1823, 44.7829)
Luminance0.8318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB9F #9FB3FF
analogous
#FFBB9F #FFEB9F #E3FF9F
triadic
#FFEB9F #9FFFEB #EB9FFF
tetradic
#FFEB9F #9FFFBB #9FB3FF #FF9FE3
square
#FFEB9F #9FFFBB #9FB3FF #FF9FE3
split-complementary
#FFEB9F #9FE3FF #BB9FFF
monochromatic
#FFD125 #FFDE62 #FFEB9F #FFF8DC #FFF9E0

Accessibility & contrast

On white

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

On black

17.64
#FFEB9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB9F
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB9F#FFFFFF#000000##000000
##FFEB9F1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE79A
Deuteranopia (green-blind)
#FFEEA2
Tritanopia (blue-blind)
#FFE0D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffeb9f;
/* rgb */ color: rgb(255, 235, 159);
/* oklch */ color: oklch(93.9% 0.097 95.1);
Tailwind
colors: {
  custom: {
    50: '#fff1bc',
    500: '#ffeb9f',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb9f;
$custom-light: #fff1bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb9f",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 159
  },
  "hsl": {
    "h": 47.5,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.93922,
    "c": 0.09741,
    "h": 95.1
  },
  "luminance": 0.8318
}

Semantic roles & 50–950 ramp

primary
#FFEB9F
secondary
#5F7BE3
accent
#30E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFEB9F

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

Preview Lab → · Contrast checker → · Palette generator →

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