#FFEB98#FFEB98

#FFEB98 is a very light, moderate yellow. Relative luminance 0.829; OKLCH L 93.8% C 0.105 H 96.2°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#FFEB98
RGBrgb(255, 235, 152)
HSLhsl(48, 100%, 80%)
HSVhsv(48, 40%, 100%)
CMYKcmyk(0%, 7.8%, 40.4%, 0%)
CIE-LABlab(92.99, -4.45, 42.70)
CIE-LCHlch(92.99, 42.94, 95.95°)
OKLaboklab(93.81% -0.0114 0.1044)
OKLCHoklch(93.81% 0.105 96.2)
XYZxyz(76.6175, 82.9462, 41.6740)
Luminance0.8294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB98 #98ACFF
analogous
#FFB898 #FFEB98 #DFFF98
triadic
#FFEB98 #98FFEB #EB98FF
tetradic
#FFEB98 #98FFB8 #98ACFF #FF98DF
square
#FFEB98 #98FFB8 #98ACFF #FF98DF
split-complementary
#FFEB98 #98DFFF #B898FF
monochromatic
#FFD31E #FFDF5B #FFEB98 #FFF7D5 #FFF9E0

Accessibility & contrast

On white

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

On black

17.59
#FFEB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB98
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB98#FFFFFF#000000##000000
##FFEB981.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE792
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#FFDFD6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffeb98;
/* rgb */ color: rgb(255, 235, 152);
/* oklch */ color: oklch(93.8% 0.105 96.2);
Tailwind
colors: {
  custom: {
    50: '#fff1b7',
    500: '#ffeb98',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb98;
$custom-light: #fff1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb98",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 152
  },
  "hsl": {
    "h": 48.35,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93807,
    "c": 0.10505,
    "h": 96.2
  },
  "luminance": 0.82944
}

Semantic roles & 50–950 ramp

primary
#FFEB98
secondary
#5974E2
accent
#2DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEB98

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

Preview Lab → · Contrast checker → · Palette generator →

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