#FFFB8D#FFFB8D

#FFFB8D is a very light, vivid yellow. Relative luminance 0.922; OKLCH L 96.9% C 0.132 H 106.8°. Best body text is #000000 at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#FFFB8D
RGBrgb(255, 251, 141)
HSLhsl(58, 100%, 78%)
HSVhsv(58, 45%, 100%)
CMYKcmyk(0%, 1.6%, 44.7%, 0%)
CIE-LABlab(96.89, -13.45, 52.92)
CIE-LCHlch(96.89, 54.60, 104.26°)
OKLaboklab(96.85% -0.0383 0.1268)
OKLCHoklch(96.85% 0.132 106.8)
XYZxyz(80.5466, 92.1795, 38.7436)
Luminance0.9218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB8D #8D91FF
analogous
#FFC28D #FFFB8D #CAFF8D
triadic
#FFFB8D #8DFFFB #FB8DFF
tetradic
#FFFB8D #8DFFC2 #8D91FF #FF8DCA
square
#FFFB8D #8DFFC2 #8D91FF #FF8DCA
split-complementary
#FFFB8D #8DCAFF #C28DFF
monochromatic
#FFF713 #FFF950 #FFFB8D #FFFDCA #FFFEE0

Accessibility & contrast

On white

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

On black

19.44
#FFFB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB8D
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB8D#FFFFFF#000000##000000
##FFFB8D1.001.0819.4419.44
#FFFFFF1.081.0021.0021.00
#00000019.4421.001.001.00
##00000019.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF384
Deuteranopia (green-blind)
#FFF892
Tritanopia (blue-blind)
#FFEEE1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffb8d;
/* rgb */ color: rgb(255, 251, 141);
/* oklch */ color: oklch(96.9% 0.132 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffcb0',
    500: '#fffb8d',
    950: '#000000',
  },
}
SCSS
$custom: #fffb8d;
$custom-light: #fffcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb8d",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 141
  },
  "hsl": {
    "h": 57.895,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.96854,
    "c": 0.13246,
    "h": 106.8
  },
  "luminance": 0.92177
}

Semantic roles & 50–950 ramp

primary
#FFFB8D
secondary
#5055E0
accent
#08E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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