#FFEB97#FFEB97

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

Color values

HEX#FFEB97
RGBrgb(255, 235, 151)
HSLhsl(48, 100%, 80%)
HSVhsv(48, 41%, 100%)
CMYKcmyk(0%, 7.8%, 40.8%, 0%)
CIE-LABlab(92.98, -4.56, 43.18)
CIE-LCHlch(92.98, 43.42, 96.02°)
OKLaboklab(93.79% -0.0118 0.1055)
OKLCHoklch(93.79% 0.106 96.4)
XYZxyz(76.5360, 82.9136, 41.2445)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB97 #97ABFF
analogous
#FFB797 #FFEB97 #DFFF97
triadic
#FFEB97 #97FFEB #EB97FF
tetradic
#FFEB97 #97FFB7 #97ABFF #FF97DF
square
#FFEB97 #97FFB7 #97ABFF #FF97DF
split-complementary
#FFEB97 #97DFFF #B797FF
monochromatic
#FFD31D #FFDF5A #FFEB97 #FFF7D4 #FFF9E0

Accessibility & contrast

On white

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

On black

17.58
#FFEB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB97
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB97#FFFFFF#000000##000000
##FFEB971.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeb97;
/* rgb */ color: rgb(255, 235, 151);
/* oklch */ color: oklch(93.8% 0.106 96.4);
Tailwind
colors: {
  custom: {
    50: '#fff1b6',
    500: '#ffeb97',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb97;
$custom-light: #fff1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb97",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 48.462,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93791,
    "c": 0.10613,
    "h": 96.4
  },
  "luminance": 0.82911
}

Semantic roles & 50–950 ramp

primary
#FFEB97
secondary
#5973E2
accent
#2CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEB97

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

Preview Lab → · Contrast checker → · Palette generator →

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