#FFFB97#FFFB97

#FFFB97 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 97.0% C 0.122 H 106.5°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#FFFB97
RGBrgb(255, 251, 151)
HSLhsl(58, 100%, 80%)
HSVhsv(58, 41%, 100%)
CMYKcmyk(0%, 1.6%, 40.8%, 0%)
CIE-LABlab(97.02, -12.48, 48.31)
CIE-LCHlch(97.02, 49.90, 104.49°)
OKLaboklab(97% -0.0346 0.1171)
OKLCHoklch(97% 0.122 106.5)
XYZxyz(81.3245, 92.4906, 42.8406)
Luminance0.9249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB97 #979BFF
analogous
#FFC797 #FFFB97 #CFFF97
triadic
#FFFB97 #97FFFB #FB97FF
tetradic
#FFFB97 #97FFC7 #979BFF #FF97CF
square
#FFFB97 #97FFC7 #979BFF #FF97CF
split-complementary
#FFFB97 #97CFFF #C797FF
monochromatic
#FFF61D #FFF95A #FFFB97 #FFFDD4 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.50
#FFFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB97
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB97#FFFFFF#000000##000000
##FFFB971.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF99B
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffb97;
/* rgb */ color: rgb(255, 251, 151);
/* oklch */ color: oklch(97.0% 0.122 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffcb7',
    500: '#fffb97',
    950: '#000000',
  },
}
SCSS
$custom: #fffb97;
$custom-light: #fffcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb97",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 57.692,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96996,
    "c": 0.12212,
    "h": 106.5
  },
  "luminance": 0.92489
}

Semantic roles & 50–950 ramp

primary
#FFFB97
secondary
#595EE2
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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